Sha256: 33ef58009f511183bae4c35e0dccc06f1356cc33d669c9385d768c2e4ee1848c

Contents?: true

Size: 220 Bytes

Versions: 7

Compression:

Stored size: 220 Bytes

Contents

module Shipstation
  module APIOperations
    module Update

      def update object_id, params = {}
        Shipstation.request(:put, "#{class_name.downcase.pluralize}/#{object_id}", params)
      end

    end
  end
end

Version data entries

7 entries across 7 versions & 1 rubygems

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