Sha256: 2206ddf50f456f48b9189b90b7088548138205c4938a2401a90c645378458d0e

Contents?: true

Size: 336 Bytes

Versions: 7

Compression:

Stored size: 336 Bytes

Contents

module Shipstation
  class Warehouse < ApiResource
    extend Shipstation::APIOperations::Create
    extend Shipstation::APIOperations::Retrieve
    extend Shipstation::APIOperations::Update

    class << self
      def list
        response = Shipstation.request(:get, 'warehouses')

        return response
      end
    end
  end
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
shipstation-0.21 lib/shipstation/warehouse.rb
shipstation-0.20 lib/shipstation/warehouse.rb
shipstation-0.18 lib/shipstation/warehouse.rb
shipstation-0.16.7 lib/shipstation/warehouse.rb
shipstation-0.16.6 lib/shipstation/warehouse.rb
shipstation-0.16.5 lib/shipstation/warehouse.rb
shipstation-0.15.5 lib/shipstation/warehouse.rb