Sha256: 6aaae44c36a673d16f9daf5e3aa3581a59bbde46fe8c4cd469e4e88546d1a433

Contents?: true

Size: 338 Bytes

Versions: 2

Compression:

Stored size: 338 Bytes

Contents

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

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

                return response
            end
        end
    end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
shipstation-0.5.2 lib/shipstation/warehouse.rb
shipstation-0.3.2 lib/shipstation/warehouse.rb