Class: BMO::Configuration
- Inherits:
-
Object
- Object
- BMO::Configuration
- Defined in:
- lib/bmo/configuration.rb
Overview
Handles all the configuration per provider
Defined Under Namespace
Instance Attribute Summary collapse
-
#apns ⇒ Object
readonly
Returns the value of attribute apns.
-
#gcm ⇒ Object
readonly
Returns the value of attribute gcm.
Instance Method Summary collapse
-
#initialize ⇒ Configuration
constructor
A new instance of Configuration.
Constructor Details
#initialize ⇒ Configuration
Returns a new instance of Configuration.
8 9 10 11 |
# File 'lib/bmo/configuration.rb', line 8 def initialize @apns = APNS.new @gcm = GCM.new end |
Instance Attribute Details
#apns ⇒ Object (readonly)
Returns the value of attribute apns.
6 7 8 |
# File 'lib/bmo/configuration.rb', line 6 def apns @apns end |
#gcm ⇒ Object (readonly)
Returns the value of attribute gcm.
6 7 8 |
# File 'lib/bmo/configuration.rb', line 6 def gcm @gcm end |