Sha256: 5de04fe3af3c60bc28cb4856a8af16217b2cc5b8a0a9de389428ed130ae08572

Contents?: true

Size: 259 Bytes

Versions: 4

Compression:

Stored size: 259 Bytes

Contents

module Shipstation
  module APIOperations
    module Retrieve

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

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
shipstation-0.25 lib/shipstation/api_operations/retrieve.rb
shipstation-0.24 lib/shipstation/api_operations/retrieve.rb
shipstation-0.23 lib/shipstation/api_operations/retrieve.rb
shipstation-0.22 lib/shipstation/api_operations/retrieve.rb