Class: IonicPush::Configuration
- Inherits:
-
Object
- Object
- IonicPush::Configuration
- Defined in:
- lib/ionic_push/configuration.rb
Instance Attribute Summary collapse
-
#api_key ⇒ Object
Returns the value of attribute api_key.
-
#profile ⇒ Object
Returns the value of attribute profile.
Instance Method Summary collapse
-
#initialize ⇒ Configuration
constructor
A new instance of Configuration.
Constructor Details
#initialize ⇒ Configuration
Returns a new instance of Configuration.
5 6 7 8 |
# File 'lib/ionic_push/configuration.rb', line 5 def initialize @api_key = '<my-ionic-api-key>' @profile = '<my-ionic-profile>' end |
Instance Attribute Details
#api_key ⇒ Object
Returns the value of attribute api_key.
3 4 5 |
# File 'lib/ionic_push/configuration.rb', line 3 def api_key @api_key end |
#profile ⇒ Object
Returns the value of attribute profile.
3 4 5 |
# File 'lib/ionic_push/configuration.rb', line 3 def profile @profile end |