Class: RisenexaLeads::Configuration
- Inherits:
-
Object
- Object
- RisenexaLeads::Configuration
- Defined in:
- lib/risenexa/leads.rb
Instance Attribute Summary collapse
-
#api_key ⇒ Object
Returns the value of attribute api_key.
-
#base_url ⇒ Object
Returns the value of attribute base_url.
-
#startup_id ⇒ Object
Returns the value of attribute startup_id.
-
#timeout ⇒ Object
Returns the value of attribute timeout.
Instance Method Summary collapse
-
#initialize ⇒ Configuration
constructor
A new instance of Configuration.
Constructor Details
#initialize ⇒ Configuration
Returns a new instance of Configuration.
60 61 62 63 |
# File 'lib/risenexa/leads.rb', line 60 def initialize @base_url = "https://app.risenexa.com" @timeout = 30 end |
Instance Attribute Details
#api_key ⇒ Object
Returns the value of attribute api_key.
58 59 60 |
# File 'lib/risenexa/leads.rb', line 58 def api_key @api_key end |
#base_url ⇒ Object
Returns the value of attribute base_url.
58 59 60 |
# File 'lib/risenexa/leads.rb', line 58 def base_url @base_url end |
#startup_id ⇒ Object
Returns the value of attribute startup_id.
58 59 60 |
# File 'lib/risenexa/leads.rb', line 58 def startup_id @startup_id end |
#timeout ⇒ Object
Returns the value of attribute timeout.
58 59 60 |
# File 'lib/risenexa/leads.rb', line 58 def timeout @timeout end |