Class: Riddler::ContextBuilders::FaradayBuilder
- Inherits:
-
Riddler::ContextBuilder
- Object
- Riddler::ContextBuilder
- Riddler::ContextBuilders::FaradayBuilder
- Defined in:
- lib/riddler/context_builders/faraday_builder.rb
Instance Attribute Summary
Attributes inherited from Riddler::ContextBuilder
Class Method Summary collapse
Instance Method Summary collapse
Methods inherited from Riddler::ContextBuilder
#data_available?, #extract_ids, #initialize, #process
Constructor Details
This class inherits a constructor from Riddler::ContextBuilder
Class Method Details
.base_uri ⇒ Object
4 5 6 |
# File 'lib/riddler/context_builders/faraday_builder.rb', line 4 def self.base_uri raise "The Faraday builder must define a class .base_uri method" end |
Instance Method Details
#connection ⇒ Object
8 9 10 |
# File 'lib/riddler/context_builders/faraday_builder.rb', line 8 def connection @connection ||= build_connection end |