Sha256: a534df42a91694afe70a2ac36427932c830c776629c2db0b09211480be20e496

Contents?: true

Size: 315 Bytes

Versions: 4

Compression:

Stored size: 315 Bytes

Contents

module CoinbaseCommerceClient
  module APIResources
    module Base
      module Create
        def create(params = {})
          response = @client.request(:post, "#{self::RESOURCE_PATH}", params)
          Util.convert_to_api_object(response.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/create.rb
coinbase_commerce_client-0.3.0 lib/coinbase_commerce_client/api_resources/base/create.rb
coinbase_commerce_client-0.2.0 lib/coinbase_commerce_client/api_resources/base/create.rb
coinbase_commerce_client-0.1.0 lib/coinbase_commerce_client/api_resources/base/create.rb