lib/shipstation/warehouse.rb in shipstation-0.2.2 vs lib/shipstation/warehouse.rb in shipstation-0.3.2
- old
+ new
@@ -1,7 +1,8 @@
module Shipstation
class Warehouse < ApiResource
- include Shipstation::APIOperations::Create
+ extend Shipstation::APIOperations::Create
+ extend Shipstation::APIOperations::Retrieve
class << self
def list
response = Shipstation.request(:get, 'warehouses')
\ No newline at end of file