Sha256: 1bfb62aecdc770db9ecd14e237a4ad02b58c655b0400061cabbfcd8095a86bd7

Contents?: true

Size: 348 Bytes

Versions: 7

Compression:

Stored size: 348 Bytes

Contents

module Conekta
  class PayoutMethod < Resource
    include Conekta::Operations::Delete
    include Conekta::Operations::Update
    include Conekta::Operations::CustomAction

    def _url
      ensure_id

      self.payee._url + self.class._url + "/" + id
    end

    def delete
      self.delete_member('payee','payout_methods')
    end
  end
end

Version data entries

7 entries across 7 versions & 2 rubygems

Version Path
conekta-2.6.0 lib/conekta/payout_method.rb
conekta-tiempometa-2.4.2 lib/conekta/payout_method.rb
conekta-2.5.0 lib/conekta/payout_method.rb
conekta-2.4.2 lib/conekta/payout_method.rb
conekta-2.4.1 lib/conekta/payout_method.rb
conekta-2.4.0 lib/conekta/payout_method.rb
conekta-2.3.0 lib/conekta/payout_method.rb