Module: Cordial

Defined in:
lib/cordial.rb,
lib/cordial/client.rb,
lib/cordial/orders.rb,
lib/cordial/version.rb,
lib/cordial/contacts.rb,
lib/cordial/products.rb,
lib/cordial/automation_templates.rb

Defined Under Namespace

Modules: Client Classes: AutomationTemplates, Configuration, Contacts, Orders, Products

Constant Summary collapse

VERSION =
'0.1.10'.freeze

Class Attribute Summary collapse

Class Method Summary collapse

Class Attribute Details

.configObject

Returns the value of attribute config


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

def config
  @config
end

Class Method Details

.configure {|config| ... } ⇒ Object

Yields:


15
16
17
18
# File 'lib/cordial.rb', line 15

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