class Myfinance::Resources::ReceivableAccount

A wrapper to Myfinance receivable accounts API

API

Documentation: app.myfinance.com.br/docs/api/receivable_accounts

Private Instance Methods

endpoints() click to toggle source
# File lib/myfinance/resources/receivable_account.rb, line 13
def endpoints
  default_endpoints.merge({
    receive: '/entities/:entity_id/receivable_accounts/:id/receive',
    undo_receivement: '/entities/:entity_id/receivable_accounts/:id/undo_receivement',
  })
end
pay_or_receive_method() click to toggle source
# File lib/myfinance/resources/receivable_account.rb, line 20
def pay_or_receive_method
  'receive'
end
resource_key() click to toggle source
# File lib/myfinance/resources/receivable_account.rb, line 28
def resource_key
  'receivable_account'
end
undo_payment_or_receivement() click to toggle source
# File lib/myfinance/resources/receivable_account.rb, line 24
def undo_payment_or_receivement
  'undo_receivement'
end