Module: Shipstation::APIOperations::Update

Included in:
Product, Store, Warehouse
Defined in:
lib/shipstation/api_operations/update.rb

Instance Method Summary collapse

Instance Method Details

#update(object_id, params = {}) ⇒ Object



5
6
7
# File 'lib/shipstation/api_operations/update.rb', line 5

def update object_id, params={}
  Shipstation.request(:put, "#{class_name.downcase.pluralize}/#{object_id}", params)
end