Class: FidorApi::Client::Connection

Inherits:
Object
  • Object
show all
Defined in:
lib/fidor_api/client/connection.rb

Constant Summary collapse

DEFAULT_HEADERS =
{
  'Accept'       => 'application/vnd.fidor.de; version=1,text/json',
  'Content-Type' => 'application/json'
}.freeze

Instance Method Summary collapse

Constructor Details

#initialize(client:, host:) ⇒ Connection

Returns a new instance of Connection.



9
10
11
12
# File 'lib/fidor_api/client/connection.rb', line 9

def initialize(client:, host:)
  @client = client
  @host   = host
end