Class: Pushr::ConfigurationGcm
- Inherits:
-
Configuration
- Object
- Configuration
- Pushr::ConfigurationGcm
- Defined in:
- lib/pushr/configuration_gcm.rb
Instance Attribute Summary collapse
-
#api ⇒ Object
Returns the value of attribute api.
Instance Method Summary collapse
Instance Attribute Details
#api ⇒ Object
Returns the value of attribute api.
3 4 5 |
# File 'lib/pushr/configuration_gcm.rb', line 3 def api @api end |
Instance Method Details
#name ⇒ Object
6 7 8 |
# File 'lib/pushr/configuration_gcm.rb', line 6 def name :gcm end |
#to_hash ⇒ Object
10 11 12 |
# File 'lib/pushr/configuration_gcm.rb', line 10 def to_hash { type: self.class.to_s, app: app, enabled: enabled, connections: connections, api: api } end |