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.44.0 lib/stripe/transfer.rb