lib/shipstation/warehouse.rb in shipstation-0.21 vs lib/shipstation/warehouse.rb in shipstation-0.22
- old
+ new
@@ -3,11 +3,11 @@
extend Shipstation::APIOperations::Create
extend Shipstation::APIOperations::Retrieve
extend Shipstation::APIOperations::Update
class << self
- def list
- response = Shipstation.request(:get, 'warehouses')
+ def list(params = {})
+ response = Shipstation.request(:get, 'warehouses', params)
return response
end
end
end
\ No newline at end of file