Sha256: f5c084a34193f4ebc55515c74dfaa04ffbf1d320517f58151a9ad4bf3324f57f

Contents?: true

Size: 277 Bytes

Versions: 2

Compression:

Stored size: 277 Bytes

Contents

module Shipstation
    module APIOperations
        module Retrieve

            def retrieve object_id
                response = Shipstation.request(:get, "#{class_name.downcase.pluralize}/#{object_id}")
                return response
            end
        end
    end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
shipstation-0.5.2 lib/shipstation/api_operations/retrieve.rb
shipstation-0.3.2 lib/shipstation/api_operations/retrieve.rb