Class: BMO::Configuration::GCM
- Inherits:
-
Object
- Object
- BMO::Configuration::GCM
- Defined in:
- lib/bmo/configuration.rb
Overview
GCM Configuration
Instance Attribute Summary collapse
-
#api_key ⇒ Object
Returns the value of attribute api_key.
-
#gateway_url ⇒ Object
Returns the value of attribute gateway_url.
Instance Method Summary collapse
-
#initialize ⇒ GCM
constructor
A new instance of GCM.
Constructor Details
#initialize ⇒ GCM
Returns a new instance of GCM.
39 40 41 42 |
# File 'lib/bmo/configuration.rb', line 39 def initialize @gateway_url = 'https://android.googleapis.com/gcm/send' @api_key = nil end |
Instance Attribute Details
#api_key ⇒ Object
Returns the value of attribute api_key.
38 39 40 |
# File 'lib/bmo/configuration.rb', line 38 def api_key @api_key end |
#gateway_url ⇒ Object
Returns the value of attribute gateway_url.
38 39 40 |
# File 'lib/bmo/configuration.rb', line 38 def gateway_url @gateway_url end |