Class: Shipwire::Api

Inherits:
Object
  • Object
show all
Defined in:
lib/shipwire/api.rb

Direct Known Subclasses

Orders, Products, Rate, Receivings, Returns, Secret, Stock, Webhooks

Instance Method Summary collapse

Instance Method Details

#request(method, path, body: {}, params: {}) ⇒ Object



3
4
5
# File 'lib/shipwire/api.rb', line 3

def request(method, path, body: {}, params: {})
  Request.send(method: method, path: path, body: body, params: params)
end