Class: Tango::Api::Resources::Base
- Inherits:
-
Object
- Object
- Tango::Api::Resources::Base
- Defined in:
- lib/tango/api/resources/base.rb
Overview
Base resource providing JSON parsing and Faraday error mapping.
Direct Known Subclasses
Accounts, BrandCategories, Catalogs, ChoiceProducts, Customers, ExchangeRates, Funds, Orders, Status
Instance Method Summary collapse
-
#initialize(conn) ⇒ Base
constructor
A new instance of Base.
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 |