Module: Moneybird::Traits::Delete
- Included in:
- Service::Contact, Service::Document::GeneralDocument, Service::Document::GeneralJournalDocument, Service::Document::PurchaseInvoice, Service::Document::Receipt, Service::Document::TypelessDocument, Service::Estimate, Service::ExternalSalesInvoice, Service::Identity, Service::LedgerAccount, Service::Payment, Service::Product, Service::RecurringSalesInvoice, Service::SalesInvoice, Service::Webhook
- Defined in:
- lib/moneybird/traits/delete.rb
Instance Method Summary collapse
Instance Method Details
#delete(resource) ⇒ Object
4 5 6 7 |
# File 'lib/moneybird/traits/delete.rb', line 4 def delete(resource) client.delete(resource_path(resource)) true end |