Class: MagicBell::Config
- Inherits:
-
Object
- Object
- MagicBell::Config
- Defined in:
- lib/magicbell/config.rb
Instance Attribute Summary collapse
-
#api_host ⇒ Object
Returns the value of attribute api_host.
-
#api_key ⇒ Object
Returns the value of attribute api_key.
-
#api_secret ⇒ Object
Returns the value of attribute api_secret.
-
#magic_address ⇒ Object
Returns the value of attribute magic_address.
-
#project_id ⇒ Object
Returns the value of attribute project_id.
Instance Method Summary collapse
-
#initialize ⇒ Config
constructor
A new instance of Config.
Constructor Details
#initialize ⇒ Config
Returns a new instance of Config.
9 10 11 |
# File 'lib/magicbell/config.rb', line 9 def initialize @api_host = "https://api.magicbell.io" end |
Instance Attribute Details
#api_host ⇒ Object
Returns the value of attribute api_host.
7 8 9 |
# File 'lib/magicbell/config.rb', line 7 def api_host @api_host end |
#api_key ⇒ Object
Returns the value of attribute api_key.
3 4 5 |
# File 'lib/magicbell/config.rb', line 3 def api_key @api_key end |
#api_secret ⇒ Object
Returns the value of attribute api_secret.
4 5 6 |
# File 'lib/magicbell/config.rb', line 4 def api_secret @api_secret end |
#magic_address ⇒ Object
Returns the value of attribute magic_address.
6 7 8 |
# File 'lib/magicbell/config.rb', line 6 def magic_address @magic_address end |
#project_id ⇒ Object
Returns the value of attribute project_id.
5 6 7 |
# File 'lib/magicbell/config.rb', line 5 def project_id @project_id end |