Module: Sendpost

Defined in:
lib/sendpost_ruby/version.rb,
lib/sendpost_ruby.rb,
lib/sendpost_ruby/api_error.rb,
lib/sendpost_ruby/models/os.rb,
lib/sendpost_ruby/models/to.rb,
lib/sendpost_ruby/api_client.rb,
lib/sendpost_ruby/models/city.rb,
lib/sendpost_ruby/models/from.rb,
lib/sendpost_ruby/api/email_api.rb,
lib/sendpost_ruby/configuration.rb,
lib/sendpost_ruby/models/device.rb,
lib/sendpost_ruby/models/copy_to.rb,
lib/sendpost_ruby/models/q_event.rb,
lib/sendpost_ruby/models/reply_to.rb,
lib/sendpost_ruby/models/attachment.rb,
lib/sendpost_ruby/models/user_agent.rb,
lib/sendpost_ruby/models/email_message.rb,
lib/sendpost_ruby/models/webhook_event.rb,
lib/sendpost_ruby/models/email_response.rb,
lib/sendpost_ruby/models/event_metadata.rb,
lib/sendpost_ruby/models/q_email_message.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: 6.6.0

Defined Under Namespace

Classes: ApiClient, ApiError, Attachment, City, Configuration, CopyTo, Device, EmailApi, EmailMessage, EmailResponse, EventMetadata, From, Os, QEmailMessage, QEvent, ReplyTo, To, UserAgent, WebhookEvent

Constant Summary collapse

VERSION =
'1.0.1'

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.



47
48
49
50
51
52
53
# File 'lib/sendpost_ruby.rb', line 47

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