Module: SendX

Defined in:
lib/sendx-ruby-sdk/version.rb,
lib/sendx-ruby-sdk.rb,
lib/sendx-ruby-sdk/api_error.rb,
lib/sendx-ruby-sdk/api_client.rb,
lib/sendx-ruby-sdk/models/tag.rb,
lib/sendx-ruby-sdk/api/list_api.rb,
lib/sendx-ruby-sdk/api/tags_api.rb,
lib/sendx-ruby-sdk/configuration.rb,
lib/sendx-ruby-sdk/models/sender.rb,
lib/sendx-ruby-sdk/api/sender_api.rb,
lib/sendx-ruby-sdk/models/contact.rb,
lib/sendx-ruby-sdk/api/contact_api.rb,
lib/sendx-ruby-sdk/api/reports_api.rb,
lib/sendx-ruby-sdk/models/campaign.rb,
lib/sendx-ruby-sdk/models/response.rb,
lib/sendx-ruby-sdk/api/campaign_api.rb,
lib/sendx-ruby-sdk/models/list_model.rb,
lib/sendx-ruby-sdk/models/report_data.rb,
lib/sendx-ruby-sdk/models/tag_request.rb,
lib/sendx-ruby-sdk/models/list_request.rb,
lib/sendx-ruby-sdk/models/delete_request.rb,
lib/sendx-ruby-sdk/models/sender_request.rb,
lib/sendx-ruby-sdk/models/contact_request.rb,
lib/sendx-ruby-sdk/models/create_response.rb,
lib/sendx-ruby-sdk/models/dashboard_stats.rb,
lib/sendx-ruby-sdk/models/delete_response.rb,
lib/sendx-ruby-sdk/models/sender_response.rb,
lib/sendx-ruby-sdk/models/campaign_request.rb,
lib/sendx-ruby-sdk/models/campaign_dashboard_data.rb,
lib/sendx-ruby-sdk/models/last_sent_campaign_stat.rb,
lib/sendx-ruby-sdk/models/delete_campaign200_response.rb

Overview

#SendX REST API

## Introduction SendX is an email marketing product. It helps you convert website visitors to customers, send them promotional emails, engage with them using drip sequences and craft custom journeys using powerful but simple automations. The SendX API is organized around REST. Our API has predictable resource-oriented URLs, accepts form-encoded request bodies, returns JSON-encoded responses, and uses standard HTTP response codes, authentication, and verbs. The SendX Rest API doesn’t support bulk updates. You can work on only one object per request.

The version of the OpenAPI document: 1.0.1 Contact: [email protected] Generated by: openapi-generator.tech Generator version: 7.8.0

Defined Under Namespace

Classes: ApiClient, ApiError, Campaign, CampaignApi, CampaignDashboardData, CampaignRequest, Configuration, Contact, ContactApi, ContactRequest, CreateResponse, DashboardStats, DeleteCampaign200Response, DeleteRequest, DeleteResponse, LastSentCampaignStat, ListApi, ListModel, ListRequest, ReportData, ReportsApi, Response, Sender, SenderApi, SenderRequest, SenderResponse, Tag, TagRequest, TagsApi

Constant Summary collapse

VERSION =
'1.0.1'

Class Method Summary collapse

Class Method Details

.configureObject

Customize default settings for the SDK using block.

SendX.configure do |config|
  config.username = "xxx"
  config.password = "xxx"
end

If no block given, return the default Configuration object.



57
58
59
60
61
62
63
# File 'lib/sendx-ruby-sdk.rb', line 57

def configure
  if block_given?
    yield(Configuration.default)
  else
    Configuration.default
  end
end