Module: Integromat

Defined in:
lib/integromat.rb,
lib/integromat/base.rb,
lib/integromat/config.rb,
lib/integromat/version.rb,
lib/integromat/webhook.rb,
lib/integromat/exceptions.rb

Defined Under Namespace

Classes: Base, Config, Error, IntegromatMisConfiguration, IntegromatServerError, Webhook

Constant Summary collapse

VERSION =
"1.0.0"

Class Attribute Summary collapse

Class Method Summary collapse

Class Attribute Details

.configObject

Returns the value of attribute config.



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

def config
  @config
end

Class Method Details

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

Yields:



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

def self.configure
  self.config ||= Integromat::Config.new
  yield(config) if block_given?
end