Sha256: 87b9e0a32fb515bd369eafedaf93cf2bc165257738d2444fc7c4b82435d53f1a

Contents?: true

Size: 366 Bytes

Versions: 32

Compression:

Stored size: 366 Bytes

Contents

# frozen_string_literal: true

module Stripe
  class Topup < APIResource
    extend Stripe::APIOperations::List
    extend Stripe::APIOperations::Create
    include Stripe::APIOperations::Save

    OBJECT_NAME = "topup".freeze

    def cancel
      resp, api_key = request(:post, resource_url + "/cancel")
      initialize_from(resp.data, api_key)
    end
  end
end

Version data entries

32 entries across 32 versions & 1 rubygems

Version Path
stripe-4.11.0 lib/stripe/topup.rb
stripe-4.10.0 lib/stripe/topup.rb
stripe-4.9.1 lib/stripe/topup.rb
stripe-4.9.0 lib/stripe/topup.rb
stripe-4.8.1 lib/stripe/topup.rb
stripe-4.8.0 lib/stripe/topup.rb
stripe-4.7.1 lib/stripe/topup.rb
stripe-4.7.0 lib/stripe/topup.rb
stripe-4.6.0 lib/stripe/topup.rb
stripe-4.5.0 lib/stripe/topup.rb
stripe-4.4.1 lib/stripe/topup.rb
stripe-4.4.0 lib/stripe/topup.rb
stripe-4.3.0 lib/stripe/topup.rb
stripe-4.2.0 lib/stripe/topup.rb
stripe-4.1.0 lib/stripe/topup.rb
stripe-4.0.3 lib/stripe/topup.rb
stripe-4.0.2 lib/stripe/topup.rb
stripe-4.0.1 lib/stripe/topup.rb
stripe-4.0.0 lib/stripe/topup.rb
stripe-3.31.1 lib/stripe/topup.rb