Sha256: fc0701b18d2d9d144522b1bf4e4558cfe7792135dc12b3b63c47ae58caeada2a

Contents?: true

Size: 314 Bytes

Versions: 4

Compression:

Stored size: 314 Bytes

Contents

module CoinbaseCommerceClient
  module APIResources
    module Base
      module Update
        def modify(id, params={})
          resp = @client.request(:put, "#{self::RESOURCE_PATH}/#{id}", params)
          Util.convert_to_api_object(resp.data, @client, self)
        end
      end
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
coinbase_commerce_client-0.4.2 lib/coinbase_commerce_client/api_resources/base/update.rb
coinbase_commerce_client-0.3.0 lib/coinbase_commerce_client/api_resources/base/update.rb
coinbase_commerce_client-0.2.0 lib/coinbase_commerce_client/api_resources/base/update.rb
coinbase_commerce_client-0.1.0 lib/coinbase_commerce_client/api_resources/base/update.rb