Class: Riddler::ContextBuilders::FaradayBuilder

Inherits:
Riddler::ContextBuilder show all
Defined in:
lib/riddler/context_builders/faraday_builder.rb

Instance Attribute Summary

Attributes inherited from Riddler::ContextBuilder

#context

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_uriObject



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

#connectionObject



8
9
10
# File 'lib/riddler/context_builders/faraday_builder.rb', line 8

def connection
  @connection ||= build_connection
end