Sha256: 31ee173ae99f51b2891d2c61e935e6144f96d1c7d92220596c956cf67274fcc0
Contents?: true
Size: 475 Bytes
Versions: 1
Compression:
Stored size: 475 Bytes
Contents
module Shipstation class Fulfillment < ApiResource extend Shipstation::APIOperations::List class << self def retrieve(object_id, params = {}) response = Shipstation.request(:get, "#{class_name.downcase.pluralize}?fulfillmentId=#{object_id}", params) if response.is_a?(Hash) && response["fulfillments"].is_a?(Array) response["fulfillments"].first else response end end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
shipstation-0.26 | lib/shipstation/fulfillment.rb |