Sha256: 45c2e2976500149672e3ce85314faf2a76b0fab01ba6b18d518afa0d6d4f94f4
Contents?: true
Size: 558 Bytes
Versions: 3
Compression:
Stored size: 558 Bytes
Contents
# DO NOT EDIT: File is generated by code generator. require "pokepay_partner_ruby_sdk/response/transaction" module Pokepay::Request class CreateCpmTransaction < Request def initialize(cpm_token, shop_id, amount, rest_args = {}) @path = "/transactions" + "/cpm" @method = "POST" @body_params = { "cpm_token" => cpm_token, "shop_id" => shop_id, "amount" => amount }.merge(rest_args) @response_class = Pokepay::Response::Transaction end attr_reader :response_class end end
Version data entries
3 entries across 3 versions & 1 rubygems