Sha256: e823ef056def61e63057ca67d5aa34753620a67699e3b5484e36866aa3ea07e7

Contents?: true

Size: 311 Bytes

Versions: 2

Compression:

Stored size: 311 Bytes

Contents

module CoinbaseCommerceClient
  module APIResources
    module Base
      module Resolve
        def resolve
          resp = @client.request(:post, "#{self.class::RESOURCE_PATH}/#{self[:id]}/resolve", self)
          initialize_from(resp.data)
          self
        end
      end
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
coinbase_commerce_client-0.4.2 lib/coinbase_commerce_client/api_resources/base/resolve.rb
coinbase_commerce_client-0.3.0 lib/coinbase_commerce_client/api_resources/base/resolve.rb