Class: Moneybird::Resource::Administration
- Inherits:
-
Object
- Object
- Moneybird::Resource::Administration
- Extended by:
- ClassMethods
- Includes:
- Moneybird::Resource
- Defined in:
- lib/moneybird/resource/administration.rb
Instance Attribute Summary
Attributes included from ClassMethods
#attributes, #logger, #nillable_attributes
Attributes included from Moneybird::Resource
Instance Method Summary collapse
- #contacts ⇒ Object
- #custom_fields ⇒ Object
- #document_styles ⇒ Object
- #estimates ⇒ Object
- #external_sales_invoices ⇒ Object
- #financial_accounts ⇒ Object
- #financial_mutations ⇒ Object
- #general_documents ⇒ Object
- #general_journal_documents ⇒ Object
- #identities ⇒ Object
- #ledger_accounts ⇒ Object
- #products ⇒ Object
- #purchase_invoice_documents ⇒ Object
- #purchase_invoices ⇒ Object
- #receipts ⇒ Object
- #recurring_sales_invoices ⇒ Object
- #sales_invoices ⇒ Object
- #tax_rates ⇒ Object
- #typeless_documents ⇒ Object
- #webhooks ⇒ Object
- #workflows ⇒ Object
Methods included from ClassMethods
build, has_attributes, has_boolean_attributes, has_datetime_attributes, has_integer_attributes, has_nillable_attributes, resource
Methods included from Moneybird::Resource
#attributes, #attributes=, #custom_fields=, #initialize, #link_booking, #path, #persisted?, #to_json
Instance Method Details
#contacts ⇒ Object
35 36 37 |
# File 'lib/moneybird/resource/administration.rb', line 35 def contacts Moneybird::Service::Contact.new(@client, id) end |
#custom_fields ⇒ Object
59 60 61 |
# File 'lib/moneybird/resource/administration.rb', line 59 def custom_fields Moneybird::Service::CustomField.new(@client, id) end |
#document_styles ⇒ Object
63 64 65 |
# File 'lib/moneybird/resource/administration.rb', line 63 def document_styles Moneybird::Service::DocumentStyle.new(@client, id) end |
#estimates ⇒ Object
39 40 41 |
# File 'lib/moneybird/resource/administration.rb', line 39 def estimates Moneybird::Service::Estimate.new(@client, id) end |
#external_sales_invoices ⇒ Object
27 28 29 |
# File 'lib/moneybird/resource/administration.rb', line 27 def external_sales_invoices Moneybird::Service::ExternalSalesInvoice.new(@client, id) end |
#financial_accounts ⇒ Object
71 72 73 |
# File 'lib/moneybird/resource/administration.rb', line 71 def financial_accounts Moneybird::Service::FinancialAccount.new(@client, id) end |
#financial_mutations ⇒ Object
75 76 77 |
# File 'lib/moneybird/resource/administration.rb', line 75 def financial_mutations Moneybird::Service::FinancialMutation.new(@client, id) end |
#general_documents ⇒ Object
79 80 81 |
# File 'lib/moneybird/resource/administration.rb', line 79 def general_documents Moneybird::Service::Document::GeneralDocument.new(@client, id) end |
#general_journal_documents ⇒ Object
83 84 85 |
# File 'lib/moneybird/resource/administration.rb', line 83 def general_journal_documents Moneybird::Service::Document::GeneralJournalDocument.new(@client, id) end |
#identities ⇒ Object
51 52 53 |
# File 'lib/moneybird/resource/administration.rb', line 51 def identities Moneybird::Service::Identity.new(@client, id) end |
#ledger_accounts ⇒ Object
15 16 17 |
# File 'lib/moneybird/resource/administration.rb', line 15 def ledger_accounts Moneybird::Service::LedgerAccount.new(@client, id) end |
#products ⇒ Object
43 44 45 |
# File 'lib/moneybird/resource/administration.rb', line 43 def products Moneybird::Service::Product.new(@client, id) end |
#purchase_invoice_documents ⇒ Object
91 92 93 |
# File 'lib/moneybird/resource/administration.rb', line 91 def purchase_invoice_documents Moneybird::Service::Document::PurchaseInvoice.new(@client, id) end |
#purchase_invoices ⇒ Object
19 20 21 |
# File 'lib/moneybird/resource/administration.rb', line 19 def purchase_invoices Moneybird::Service::PurchaseInvoice.new(@client, id) end |
#receipts ⇒ Object
87 88 89 |
# File 'lib/moneybird/resource/administration.rb', line 87 def receipts Moneybird::Service::Document::Receipt.new(@client, id) end |
#recurring_sales_invoices ⇒ Object
31 32 33 |
# File 'lib/moneybird/resource/administration.rb', line 31 def recurring_sales_invoices Moneybird::Service::RecurringSalesInvoice.new(@client, id) end |
#sales_invoices ⇒ Object
23 24 25 |
# File 'lib/moneybird/resource/administration.rb', line 23 def sales_invoices Moneybird::Service::SalesInvoice.new(@client, id) end |
#tax_rates ⇒ Object
67 68 69 |
# File 'lib/moneybird/resource/administration.rb', line 67 def tax_rates Moneybird::Service::TaxRate.new(@client, id) end |
#typeless_documents ⇒ Object
95 96 97 |
# File 'lib/moneybird/resource/administration.rb', line 95 def typeless_documents Moneybird::Service::Document::TypelessDocument.new(@client, id) end |