Module: EasyWechat
- Defined in:
- lib/easy_wechat.rb,
lib/easy_wechat/client.rb,
lib/easy_wechat/version.rb,
lib/easy_wechat/configuration.rb,
lib/generators/easy_wechat/install_generator.rb
Defined Under Namespace
Modules: Generators
Classes: Client, Configuration, Error
Constant Summary
collapse
- VERSION =
"0.1.9"
Class Attribute Summary collapse
Class Method Summary
collapse
Class Attribute Details
.configuration ⇒ Object
9
10
11
|
# File 'lib/easy_wechat.rb', line 9
def self.configuration
@configuration ||= Configuration.new
end
|
Class Method Details
.app_id ⇒ Object
24
25
26
|
# File 'lib/easy_wechat.rb', line 24
def app_id
configuration.app_id
end
|
.app_secret ⇒ Object
28
29
30
|
# File 'lib/easy_wechat.rb', line 28
def app_secret
configuration.app_secret
end
|
20
21
22
|
# File 'lib/easy_wechat.rb', line 20
def configure
yield(configuration)
end
|