Sha256: f95e591144cd4d7b078bea74bb1b80ee7cbdf825d0b3987a138893e663ee55cf

Contents?: true

Size: 357 Bytes

Versions: 21

Compression:

Stored size: 357 Bytes

Contents

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

    def cancel
      response, api_key = self.request(:post, cancel_url)
      initialize_from(response, api_key)
    end

    def cancel_url
      resource_url + '/cancel'
    end
  end
end

Version data entries

21 entries across 21 versions & 1 rubygems

Version Path
stripe-1.58.0 lib/stripe/transfer.rb
stripe-1.57.1 lib/stripe/transfer.rb
stripe-1.57.0 lib/stripe/transfer.rb
stripe-1.56.2 lib/stripe/transfer.rb
stripe-1.56.1 lib/stripe/transfer.rb
stripe-1.56.0 lib/stripe/transfer.rb
stripe-1.55.1 lib/stripe/transfer.rb
stripe-1.55.0 lib/stripe/transfer.rb
stripe-1.54.0 lib/stripe/transfer.rb
stripe-1.53.0 lib/stripe/transfer.rb
stripe-1.52.0 lib/stripe/transfer.rb
stripe-1.51.1 lib/stripe/transfer.rb
stripe-1.51.0 lib/stripe/transfer.rb
stripe-1.50.1 lib/stripe/transfer.rb
stripe-1.50.0 lib/stripe/transfer.rb
stripe-1.49.0 lib/stripe/transfer.rb
stripe-1.48.0 lib/stripe/transfer.rb
stripe-1.47.0 lib/stripe/transfer.rb
stripe-1.46.0 lib/stripe/transfer.rb
stripe-1.45.0 lib/stripe/transfer.rb