Class: HeedKit::Configuration
- Inherits:
-
Object
- Object
- HeedKit::Configuration
- Defined in:
- lib/heedkit.rb
Instance Attribute Summary collapse
-
#endpoint ⇒ Object
Returns the value of attribute endpoint.
-
#project_key ⇒ Object
Returns the value of attribute project_key.
-
#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.
24 25 26 27 |
# File 'lib/heedkit.rb', line 24 def initialize @endpoint = "https://api.heedkit.com" @timeout = 5 end |
Instance Attribute Details
#endpoint ⇒ Object
Returns the value of attribute endpoint.
22 23 24 |
# File 'lib/heedkit.rb', line 22 def endpoint @endpoint end |
#project_key ⇒ Object
Returns the value of attribute project_key.
22 23 24 |
# File 'lib/heedkit.rb', line 22 def project_key @project_key end |
#timeout ⇒ Object
Returns the value of attribute timeout.
22 23 24 |
# File 'lib/heedkit.rb', line 22 def timeout @timeout end |