Sha256: d75265f53cbef7e566024be884bce9a6fa38cd9177fa9a043433a622ae53481a
Contents?: true
Size: 443 Bytes
Versions: 7
Compression:
Stored size: 443 Bytes
Contents
# frozen_string_literal: true module Stripe class Topup < APIResource extend Stripe::APIOperations::Create extend Stripe::APIOperations::List include Stripe::APIOperations::Save OBJECT_NAME = "topup".freeze custom_method :cancel, http_verb: :post def cancel(params = {}, opts = {}) resp, opts = request(:post, resource_url + "/cancel", params, opts) initialize_from(resp.data, opts) end end end
Version data entries
7 entries across 7 versions & 2 rubygems