Class: Iqdb::Client::Engine
- Inherits:
-
Object
- Object
- Iqdb::Client::Engine
- Defined in:
- lib/iqdb/client/engine.rb
Instance Attribute Summary collapse
-
#service_adapter ⇒ Object
readonly
Returns the value of attribute service_adapter.
Instance Method Summary collapse
- #from_link(link) ⇒ Object
-
#initialize(http:) ⇒ Engine
constructor
A new instance of Engine.
Constructor Details
#initialize(http:) ⇒ Engine
Returns a new instance of Engine.
6 7 8 |
# File 'lib/iqdb/client/engine.rb', line 6 def initialize(http:) @service_adapter = http end |
Instance Attribute Details
#service_adapter ⇒ Object (readonly)
Returns the value of attribute service_adapter.
4 5 6 |
# File 'lib/iqdb/client/engine.rb', line 4 def service_adapter @service_adapter end |