Module: MailganerClient

Defined in:
lib/mailganer_client.rb,
lib/mailganer_client/client.rb,
lib/mailganer_client/errors.rb,
lib/mailganer_client/version.rb,
lib/mailganer_client/configuration.rb

Defined Under Namespace

Classes: ApiError, AuthorizationError, BadRequestError, Client, Configuration, DomainNotTrustedError, StopListError

Constant Summary collapse

VERSION =
"0.1.3"

Class Attribute Summary collapse

Class Method Summary collapse

Class Attribute Details

.configurationObject

Returns the value of attribute configuration.



8
9
10
# File 'lib/mailganer_client.rb', line 8

def configuration
  @configuration
end

Class Method Details

.configure {|configuration| ... } ⇒ Object

Yields:



11
12
13
14
# File 'lib/mailganer_client.rb', line 11

def self.configure
  self.configuration ||= Configuration.new
  yield(configuration)
end