Class: Hyperfocal::Configuration
- Inherits:
-
Object
- Object
- Hyperfocal::Configuration
- Defined in:
- lib/hyperfocal.rb
Instance Attribute Summary collapse
-
#app_id ⇒ Object
Returns the value of attribute app_id.
-
#host ⇒ Object
readonly
Returns the value of attribute host.
Instance Method Summary collapse
-
#initialize ⇒ Configuration
constructor
A new instance of Configuration.
Constructor Details
#initialize ⇒ Configuration
54 55 56 |
# File 'lib/hyperfocal.rb', line 54 def initialize @host = 'https://api.hyperfocal.io' end |
Instance Attribute Details
#app_id ⇒ Object
Returns the value of attribute app_id.
51 52 53 |
# File 'lib/hyperfocal.rb', line 51 def app_id @app_id end |
#host ⇒ Object (readonly)
Returns the value of attribute host.
52 53 54 |
# File 'lib/hyperfocal.rb', line 52 def host @host end |