Module: LoopsSdk

Defined in:
lib/loops_sdk.rb,
lib/loops_sdk/base.rb,
lib/loops_sdk/events.rb,
lib/loops_sdk/api_key.rb,
lib/loops_sdk/version.rb,
lib/loops_sdk/contacts.rb,
lib/loops_sdk/configuration.rb,
lib/loops_sdk/custom_fields.rb,
lib/loops_sdk/mailing_lists.rb,
lib/loops_sdk/transactional.rb

Defined Under Namespace

Classes: APIError, ApiKey, Base, Configuration, Contacts, CustomFields, Events, MailingLists, RateLimitError, Transactional

Constant Summary collapse

VERSION =
"0.2.0"

Class Attribute Summary collapse

Class Method Summary collapse

Class Attribute Details

.configurationObject

Returns the value of attribute configuration.



17
18
19
# File 'lib/loops_sdk.rb', line 17

def configuration
  @configuration
end

Class Method Details

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

Yields:



20
21
22
23
# File 'lib/loops_sdk.rb', line 20

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