Sha256: 86a146063bccc83496882c32e38fb1d8461fb6e3c8f7b77401edd507e600b4d3

Contents?: true

Size: 380 Bytes

Versions: 15

Compression:

Stored size: 380 Bytes

Contents

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

    OBJECT_NAME = 'payout'

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

    def cancel_url
      resource_url + '/cancel'
    end
  end
end

Version data entries

15 entries across 15 versions & 1 rubygems

Version Path
stripe-3.3.2 lib/stripe/payout.rb
stripe-3.3.1 lib/stripe/payout.rb
stripe-3.3.0 lib/stripe/payout.rb
stripe-3.2.0 lib/stripe/payout.rb
stripe-3.1.0 lib/stripe/payout.rb
stripe-3.0.3 lib/stripe/payout.rb
stripe-3.0.1 lib/stripe/payout.rb
stripe-3.0.0 lib/stripe/payout.rb
stripe-2.12.0 lib/stripe/payout.rb
stripe-2.11.0 lib/stripe/payout.rb
stripe-2.10.0 lib/stripe/payout.rb
stripe-2.9.0 lib/stripe/payout.rb
stripe-2.8.0 lib/stripe/payout.rb
stripe-2.7.0 lib/stripe/payout.rb
stripe-2.6.0 lib/stripe/payout.rb