Class: Pushr::ConfigurationFcm
- Inherits:
-
Configuration
- Object
- Configuration
- Pushr::ConfigurationFcm
- Defined in:
- lib/pushr/configuration_fcm.rb
Instance Attribute Summary collapse
-
#project_id ⇒ Object
Returns the value of attribute project_id.
-
#service_account ⇒ Object
Returns the value of attribute service_account.
Instance Method Summary collapse
Instance Attribute Details
#project_id ⇒ Object
Returns the value of attribute project_id.
3 4 5 |
# File 'lib/pushr/configuration_fcm.rb', line 3 def project_id @project_id end |
#service_account ⇒ Object
Returns the value of attribute service_account.
3 4 5 |
# File 'lib/pushr/configuration_fcm.rb', line 3 def service_account @service_account end |
Instance Method Details
#name ⇒ Object
7 8 9 |
# File 'lib/pushr/configuration_fcm.rb', line 7 def name :fcm end |
#to_hash ⇒ Object
11 12 13 14 |
# File 'lib/pushr/configuration_fcm.rb', line 11 def to_hash { type: self.class.to_s, app: app, enabled: enabled, connections: connections, service_account: service_account, project_id: project_id } end |