Class: SimpleHubspot::Configuration

Inherits:
Object
  • Object
show all
Defined in:
lib/simple_hubspot.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeConfiguration

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_baseObject

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_baseObject

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

#hapikeyObject

Returns the value of attribute hapikey.



25
26
27
# File 'lib/simple_hubspot.rb', line 25

def hapikey
  @hapikey
end

#portal_idObject

Returns the value of attribute portal_id.



25
26
27
# File 'lib/simple_hubspot.rb', line 25

def portal_id
  @portal_id
end