Sha256: c459d5598c9ed141729992666e8560b69b8cbbae5f8839e5dd3bacda48d7d314
Contents?: true
Size: 724 Bytes
Versions: 29
Compression:
Stored size: 724 Bytes
Contents
module Myfinance module Resources # # A wrapper to Myfinance receivable accounts API # # [API] # Documentation: https://app.myfinance.com.br/docs/api/receivable_accounts # class ReceivableAccount < FinancialAccount private def endpoints default_endpoints.merge({ receive: '/entities/:entity_id/receivable_accounts/:id/receive', undo_receivement: '/entities/:entity_id/receivable_accounts/:id/undo_receivement', }) end def pay_or_receive_method 'receive' end def undo_payment_or_receivement 'undo_receivement' end def resource_key 'receivable_account' end end end end
Version data entries
29 entries across 29 versions & 1 rubygems