Class: ViralLoops::Configuration
- Inherits:
-
Object
- Object
- ViralLoops::Configuration
- Defined in:
- lib/viral_loops/configuration.rb
Instance Attribute Summary collapse
-
#api_base ⇒ Object
Returns the value of attribute api_base.
-
#campaign_id ⇒ Object
Returns the value of attribute campaign_id.
-
#debug ⇒ Object
Returns the value of attribute debug.
-
#secret_token ⇒ Object
Returns the value of attribute secret_token.
Instance Method Summary collapse
-
#initialize ⇒ Configuration
constructor
A new instance of Configuration.
Constructor Details
#initialize ⇒ Configuration
7 8 9 |
# File 'lib/viral_loops/configuration.rb', line 7 def initialize @api_base = 'https://app.viral-loops.com' end |
Instance Attribute Details
#api_base ⇒ Object
Returns the value of attribute api_base.
5 6 7 |
# File 'lib/viral_loops/configuration.rb', line 5 def api_base @api_base end |
#campaign_id ⇒ Object
Returns the value of attribute campaign_id.
5 6 7 |
# File 'lib/viral_loops/configuration.rb', line 5 def campaign_id @campaign_id end |
#debug ⇒ Object
Returns the value of attribute debug.
5 6 7 |
# File 'lib/viral_loops/configuration.rb', line 5 def debug @debug end |
#secret_token ⇒ Object
Returns the value of attribute secret_token.
5 6 7 |
# File 'lib/viral_loops/configuration.rb', line 5 def secret_token @secret_token end |