Class: HeedKit::Configuration

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeConfiguration

Returns a new instance of Configuration.



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

def initialize
  @endpoint = "https://api.heedkit.com"
  @timeout = 5
end

Instance Attribute Details

#endpointObject

Returns the value of attribute endpoint.



22
23
24
# File 'lib/heedkit.rb', line 22

def endpoint
  @endpoint
end

#project_keyObject

Returns the value of attribute project_key.



22
23
24
# File 'lib/heedkit.rb', line 22

def project_key
  @project_key
end

#timeoutObject

Returns the value of attribute timeout.



22
23
24
# File 'lib/heedkit.rb', line 22

def timeout
  @timeout
end