Class: Rgcm::Config

Inherits:
Object
  • Object
show all
Defined in:
lib/rgcm/config.rb

Constant Summary collapse

URI =
'https://android.googleapis.com/gcm/send'.freeze

Class Attribute Summary collapse

Class Method Summary collapse

Class Attribute Details

.config=(value) ⇒ Object (writeonly)

Sets the attribute config

Parameters:

  • value

    the value to set the attribute config to.



7
8
9
# File 'lib/rgcm/config.rb', line 7

def config=(value)
  @config = value
end

Class Method Details

.api_keyObject



10
11
12
# File 'lib/rgcm/config.rb', line 10

def self.api_key
  @config['api_key']
end