Sha256: f5684eeae7b81cbe3e0837b989c42b25a943944244f0dfd6cf2ebd5500102598

Contents?: true

Size: 345 Bytes

Versions: 7

Compression:

Stored size: 345 Bytes

Contents

module Conekta
  class Destination < 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','destinations')
    end
  end
end

Version data entries

7 entries across 7 versions & 2 rubygems

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