Module: Imwukong

Defined in:
lib/imwukong.rb,
lib/imwukong/api.rb,
lib/imwukong/base.rb,
lib/imwukong/client.rb,
lib/imwukong/config.rb,
lib/imwukong/version.rb,
lib/imwukong/api-obsolete/push.rb,
lib/imwukong/api-obsolete/user.rb,
lib/imwukong/api-obsolete/follow.rb,
lib/imwukong/api-obsolete/upload.rb,
lib/imwukong/api-obsolete/message.rb,
lib/imwukong/api-obsolete/conversation.rb

Defined Under Namespace

Modules: Api Classes: Base, Client

Constant Summary collapse

VERSION =
"0.1.5"

Class Attribute Summary collapse

Class Method Summary collapse

Class Attribute Details

.configObject

Returns the value of attribute config.



24
25
26
# File 'lib/imwukong/config.rb', line 24

def config
  @config
end

Class Method Details

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

Yields:



26
27
28
# File 'lib/imwukong/config.rb', line 26

def configure
  yield @config if block_given?
end