Module: Sendpost

Defined in:
lib/sendpost_ruby_sdk/version.rb,
lib/sendpost_ruby_sdk.rb,
lib/sendpost_ruby_sdk/api_error.rb,
lib/sendpost_ruby_sdk/models/os.rb,
lib/sendpost_ruby_sdk/models/to.rb,
lib/sendpost_ruby_sdk/api_client.rb,
lib/sendpost_ruby_sdk/models/city.rb,
lib/sendpost_ruby_sdk/models/from.rb,
lib/sendpost_ruby_sdk/api/email_api.rb,
lib/sendpost_ruby_sdk/configuration.rb,
lib/sendpost_ruby_sdk/models/device.rb,
lib/sendpost_ruby_sdk/models/copy_to.rb,
lib/sendpost_ruby_sdk/models/q_event.rb,
lib/sendpost_ruby_sdk/models/reply_to.rb,
lib/sendpost_ruby_sdk/models/attachment.rb,
lib/sendpost_ruby_sdk/models/count_stat.rb,
lib/sendpost_ruby_sdk/models/user_agent.rb,
lib/sendpost_ruby_sdk/models/suppression.rb,
lib/sendpost_ruby_sdk/api/suppression_api.rb,
lib/sendpost_ruby_sdk/models/email_message.rb,
lib/sendpost_ruby_sdk/models/r_suppression.rb,
lib/sendpost_ruby_sdk/models/webhook_event.rb,
lib/sendpost_ruby_sdk/models/email_response.rb,
lib/sendpost_ruby_sdk/models/event_metadata.rb,
lib/sendpost_ruby_sdk/models/rd_suppression.rb,
lib/sendpost_ruby_sdk/models/delete_response.rb,
lib/sendpost_ruby_sdk/models/q_email_message.rb,
lib/sendpost_ruby_sdk/models/suppression_email.rb

Overview

#SendPost API

#Email API and SMTP relay to not just send and measure email sending, but also alert and optimise. We provide you with tools, expertise and support needed to reliably deliver emails to your customers inboxes on time, every time.

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

Defined Under Namespace

Classes: ApiClient, ApiError, Attachment, City, Configuration, CopyTo, CountStat, DeleteResponse, Device, EmailApi, EmailMessage, EmailResponse, EventMetadata, From, Os, QEmailMessage, QEvent, RDSuppression, RSuppression, ReplyTo, Suppression, SuppressionApi, SuppressionEmail, To, UserAgent, WebhookEvent

Constant Summary collapse

VERSION =
'1.2.2'

Class Method Summary collapse

Class Method Details

.configureObject

Customize default settings for the SDK using block.

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

If no block given, return the default Configuration object.



54
55
56
57
58
59
60
# File 'lib/sendpost_ruby_sdk.rb', line 54

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