Class: Rgcm::Config
- Inherits:
-
Object
- Object
- Rgcm::Config
- Defined in:
- lib/rgcm/config.rb
Constant Summary collapse
- URI =
'https://android.googleapis.com/gcm/send'.freeze
Class Attribute Summary collapse
-
.config ⇒ Object
writeonly
Sets the attribute config.
Class Method Summary collapse
Class Attribute Details
.config=(value) ⇒ Object (writeonly)
Sets the attribute config
7 8 9 |
# File 'lib/rgcm/config.rb', line 7 def config=(value) @config = value end |
Class Method Details
.api_key ⇒ Object
10 11 12 |
# File 'lib/rgcm/config.rb', line 10 def self.api_key @config['api_key'] end |