Module: Sendable

Defined in:
lib/sendable.rb,
lib/sendable/client.rb,
lib/sendable/config.rb,
lib/sendable/version.rb

Defined Under Namespace

Classes: Client, Config

Constant Summary collapse

VERSION =
"0.2.0"

Class Attribute Summary collapse

Class Method Summary collapse

Class Attribute Details

.configObject

Returns the value of attribute config.



7
8
9
# File 'lib/sendable.rb', line 7

def config
  @config
end

Class Method Details

.clientObject



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

def self.client
  @client ||= Client.new(config.api_key)
end