Sha256: b154d84d6f120f3ee2e315a79d1dcf76504f212a2e4e32d3f7a960dd4518f49a

Contents?: true

Size: 226 Bytes

Versions: 11

Compression:

Stored size: 226 Bytes

Contents

module PagarMe
  class Payable < Model
    def transaction
      @transaction ||= PagarMe::Transaction.find transaction_id
    end

    def recipient
      @recipient ||= PagarMe::Recipient.find recipient_id
    end
  end
end

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
pagarme-2.4.0 lib/pagarme/resources/payable.rb
pagarme-2.3.0 lib/pagarme/resources/payable.rb
pagarme-2.2.3 lib/pagarme/resources/payable.rb
pagarme-2.2.2 lib/pagarme/resources/payable.rb
pagarme-2.2.1 lib/pagarme/resources/payable.rb
pagarme-2.2.0 lib/pagarme/resources/payable.rb
pagarme-2.1.4 lib/pagarme/resources/payable.rb
pagarme-2.1.3 lib/pagarme/resources/payable.rb
pagarme-2.1.2 lib/pagarme/resources/payable.rb
pagarme-2.1.1 lib/pagarme/resources/payable.rb
pagarme-2.1.0 lib/pagarme/resources/payable.rb