Class: FellowshipOneAPI::Connection

Inherits:
ActiveResource::Connection
  • Object
show all
Defined in:
lib/f1api/activeresource/connection.rb

Overview

Creating a wrapper for the ActiveResource::Connection class

Instance Method Summary collapse

Constructor Details

#initialize(f1api_connection, *args) ⇒ Connection

Pass in a new connection to the API



7
8
9
10
# File 'lib/f1api/activeresource/connection.rb', line 7

def initialize(f1api_connection, *args)
  @f1api_connection = f1api_connection
  super(*args)
end