Module: FetchAPI

Defined in:
lib/fetchapi.rb,
lib/fetchapi/item.rb,
lib/fetchapi/order.rb

Defined Under Namespace

Classes: Item, Order

Class Method Summary collapse

Class Method Details

.setup(key, token) ⇒ Object



9
10
11
12
# File 'lib/fetchapi.rb', line 9

def self.setup(key, token)
  FetchAPI::Item.send(:basic_auth, key, token)
  FetchAPI::Order.send(:basic_auth, key, token)
end