Class: UmengPusher::Configuration
- Inherits:
-
Object
- Object
- UmengPusher::Configuration
- Defined in:
- lib/umeng_pusher/configuration.rb
Instance Attribute Summary collapse
-
#android_app_master_secret ⇒ Object
Returns the value of attribute android_app_master_secret.
-
#android_appkey ⇒ Object
Returns the value of attribute android_appkey.
-
#ios_app_master_secret ⇒ Object
Returns the value of attribute ios_app_master_secret.
-
#ios_appkey ⇒ Object
Returns the value of attribute ios_appkey.
-
#production_mode ⇒ Object
Returns the value of attribute production_mode.
Instance Method Summary collapse
-
#initialize ⇒ Configuration
constructor
A new instance of Configuration.
Constructor Details
#initialize ⇒ Configuration
Returns a new instance of Configuration.
7 8 9 10 11 12 13 |
# File 'lib/umeng_pusher/configuration.rb', line 7 def initialize @ios_appkey = "" @ios_app_master_secret = "" @android_appkey = "" @android_app_master_secret = "" @production_mode = "false" end |
Instance Attribute Details
#android_app_master_secret ⇒ Object
Returns the value of attribute android_app_master_secret.
3 4 5 |
# File 'lib/umeng_pusher/configuration.rb', line 3 def android_app_master_secret @android_app_master_secret end |
#android_appkey ⇒ Object
Returns the value of attribute android_appkey.
3 4 5 |
# File 'lib/umeng_pusher/configuration.rb', line 3 def android_appkey @android_appkey end |
#ios_app_master_secret ⇒ Object
Returns the value of attribute ios_app_master_secret.
3 4 5 |
# File 'lib/umeng_pusher/configuration.rb', line 3 def ios_app_master_secret @ios_app_master_secret end |
#ios_appkey ⇒ Object
Returns the value of attribute ios_appkey.
3 4 5 |
# File 'lib/umeng_pusher/configuration.rb', line 3 def ios_appkey @ios_appkey end |
#production_mode ⇒ Object
Returns the value of attribute production_mode.
3 4 5 |
# File 'lib/umeng_pusher/configuration.rb', line 3 def production_mode @production_mode end |