Module: Mogreet

Defined in:
lib/mogreet/list.rb,
lib/mogreet/user.rb,
lib/mogreet/media.rb,
lib/mogreet/client.rb,
lib/mogreet/system.rb,
lib/mogreet/keyword.rb,
lib/mogreet/request.rb,
lib/mogreet/version.rb,
lib/mogreet/response.rb,
lib/mogreet/deprecated.rb,
lib/mogreet/transaction.rb

Defined Under Namespace

Modules: Request Classes: Client, Config, Keyword, List, Media, Message, Response, System, Transaction, User

Constant Summary collapse

VERSION =
'0.0.2'

Class Method Summary collapse

Class Method Details

.configObject



6
7
8
# File 'lib/mogreet/deprecated.rb', line 6

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

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

Yields:



10
11
12
13
# File 'lib/mogreet/deprecated.rb', line 10

def self.configure
  @@config = Config.new
  yield config
end