Class: Tango::Api::Resources::Base

Inherits:
Object
  • Object
show all
Defined in:
lib/tango/api/resources/base.rb

Overview

Base resource providing JSON parsing and Faraday error mapping.

Instance Method Summary collapse

Constructor Details

#initialize(conn) ⇒ Base

Returns a new instance of Base.



10
11
12
# File 'lib/tango/api/resources/base.rb', line 10

def initialize(conn)
  @conn = conn
end