Class: SimpleHubspot::Configuration
- Inherits:
-
Object
- Object
- SimpleHubspot::Configuration
- Defined in:
- lib/simple_hubspot.rb
Instance Attribute Summary collapse
-
#api_base ⇒ Object
Returns the value of attribute api_base.
-
#form_submit_base ⇒ Object
Returns the value of attribute form_submit_base.
-
#hapikey ⇒ Object
Returns the value of attribute hapikey.
-
#portal_id ⇒ Object
Returns the value of attribute portal_id.
Instance Method Summary collapse
-
#initialize ⇒ Configuration
constructor
A new instance of Configuration.
Constructor Details
#initialize ⇒ Configuration
Returns a new instance of Configuration.
27 28 29 30 31 32 |
# File 'lib/simple_hubspot.rb', line 27 def initialize @hapikey = '' @portal_id = '' @api_base = 'https://api.hubapi.com' @form_submit_base = 'https://forms.hubspot.com/uploads/form/v2/' end |
Instance Attribute Details
#api_base ⇒ Object
Returns the value of attribute api_base.
25 26 27 |
# File 'lib/simple_hubspot.rb', line 25 def api_base @api_base end |
#form_submit_base ⇒ Object
Returns the value of attribute form_submit_base.
25 26 27 |
# File 'lib/simple_hubspot.rb', line 25 def form_submit_base @form_submit_base end |
#hapikey ⇒ Object
Returns the value of attribute hapikey.
25 26 27 |
# File 'lib/simple_hubspot.rb', line 25 def hapikey @hapikey end |
#portal_id ⇒ Object
Returns the value of attribute portal_id.
25 26 27 |
# File 'lib/simple_hubspot.rb', line 25 def portal_id @portal_id end |