Sha256: 3d6fab3d5bd13496d13e259a90bc20780e1104431a347933a3bc87fcc512b8fc

Contents?: true

Size: 221 Bytes

Versions: 3

Compression:

Stored size: 221 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

3 entries across 3 versions & 1 rubygems

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