Module: TorgMailApiClient

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

Defined Under Namespace

Classes: Client, Config

Constant Summary collapse

VERSION =
"0.0.1"

Class Method Summary collapse

Class Method Details

.configObject



18
19
20
# File 'lib/torg_mail_api_client.rb', line 18

def self.config
  @config ||= Config.new
end

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

Yields:



14
15
16
# File 'lib/torg_mail_api_client.rb', line 14

def self.configure
  yield(config)
end

.get_clientObject



10
11
12
# File 'lib/torg_mail_api_client.rb', line 10

def self.get_client
  Client.new
end