Module: XeroRuby
- Defined in:
- lib/xero-ruby/version.rb,
lib/xero-ruby.rb,
lib/xero-ruby/api_error.rb,
lib/xero-ruby/api_client.rb,
lib/xero-ruby/models/bill.rb,
lib/xero-ruby/models/item.rb,
lib/xero-ruby/models/user.rb,
lib/xero-ruby/models/error.rb,
lib/xero-ruby/models/items.rb,
lib/xero-ruby/models/phone.rb,
lib/xero-ruby/models/quote.rb,
lib/xero-ruby/models/users.rb,
lib/xero-ruby/configuration.rb,
lib/xero-ruby/models/quotes.rb,
lib/xero-ruby/models/report.rb,
lib/xero-ruby/models/account.rb,
lib/xero-ruby/models/address.rb,
lib/xero-ruby/models/contact.rb,
lib/xero-ruby/models/element.rb,
lib/xero-ruby/models/invoice.rb,
lib/xero-ruby/models/journal.rb,
lib/xero-ruby/models/payment.rb,
lib/xero-ruby/models/receipt.rb,
lib/xero-ruby/models/reports.rb,
lib/xero-ruby/models/accounts.rb,
lib/xero-ruby/models/balances.rb,
lib/xero-ruby/models/contacts.rb,
lib/xero-ruby/models/currency.rb,
lib/xero-ruby/models/employee.rb,
lib/xero-ruby/models/invoices.rb,
lib/xero-ruby/models/journals.rb,
lib/xero-ruby/models/payments.rb,
lib/xero-ruby/models/purchase.rb,
lib/xero-ruby/models/receipts.rb,
lib/xero-ruby/models/row_type.rb,
lib/xero-ruby/models/schedule.rb,
lib/xero-ruby/models/tax_rate.rb,
lib/xero-ruby/models/tax_type.rb,
lib/xero-ruby/models/employees.rb,
lib/xero-ruby/models/line_item.rb,
lib/xero-ruby/models/tax_rates.rb,
lib/xero-ruby/models/time_zone.rb,
lib/xero-ruby/models/allocation.rb,
lib/xero-ruby/models/attachment.rb,
lib/xero-ruby/models/currencies.rb,
lib/xero-ruby/models/prepayment.rb,
lib/xero-ruby/models/report_row.rb,
lib/xero-ruby/api/accounting_api.rb,
lib/xero-ruby/models/allocations.rb,
lib/xero-ruby/models/attachments.rb,
lib/xero-ruby/models/cis_setting.rb,
lib/xero-ruby/models/credit_note.rb,
lib/xero-ruby/models/overpayment.rb,
lib/xero-ruby/models/prepayments.rb,
lib/xero-ruby/models/report_cell.rb,
lib/xero-ruby/models/report_rows.rb,
lib/xero-ruby/models/account_type.rb,
lib/xero-ruby/models/cis_settings.rb,
lib/xero-ruby/models/country_code.rb,
lib/xero-ruby/models/credit_notes.rb,
lib/xero-ruby/models/journal_line.rb,
lib/xero-ruby/models/organisation.rb,
lib/xero-ruby/models/overpayments.rb,
lib/xero-ruby/models/payment_term.rb,
lib/xero-ruby/models/bank_transfer.rb,
lib/xero-ruby/models/batch_payment.rb,
lib/xero-ruby/models/contact_group.rb,
lib/xero-ruby/models/currency_code.rb,
lib/xero-ruby/models/expense_claim.rb,
lib/xero-ruby/models/external_link.rb,
lib/xero-ruby/models/organisations.rb,
lib/xero-ruby/models/report_fields.rb,
lib/xero-ruby/models/request_empty.rb,
lib/xero-ruby/models/tax_component.rb,
lib/xero-ruby/models/bank_transfers.rb,
lib/xero-ruby/models/batch_payments.rb,
lib/xero-ruby/models/branding_theme.rb,
lib/xero-ruby/models/contact_groups.rb,
lib/xero-ruby/models/contact_person.rb,
lib/xero-ruby/models/expense_claims.rb,
lib/xero-ruby/models/history_record.rb,
lib/xero-ruby/models/manual_journal.rb,
lib/xero-ruby/models/online_invoice.rb,
lib/xero-ruby/models/purchase_order.rb,
lib/xero-ruby/models/branding_themes.rb,
lib/xero-ruby/models/cis_org_setting.rb,
lib/xero-ruby/models/history_records.rb,
lib/xero-ruby/models/manual_journals.rb,
lib/xero-ruby/models/online_invoices.rb,
lib/xero-ruby/models/payment_service.rb,
lib/xero-ruby/models/purchase_orders.rb,
lib/xero-ruby/models/report_with_row.rb,
lib/xero-ruby/models/tracking_option.rb,
lib/xero-ruby/models/accounts_payable.rb,
lib/xero-ruby/models/bank_transaction.rb,
lib/xero-ruby/models/invoice_reminder.rb,
lib/xero-ruby/models/payment_services.rb,
lib/xero-ruby/models/report_attribute.rb,
lib/xero-ruby/models/report_with_rows.rb,
lib/xero-ruby/models/tracking_options.rb,
lib/xero-ruby/models/validation_error.rb,
lib/xero-ruby/models/bank_transactions.rb,
lib/xero-ruby/models/invoice_reminders.rb,
lib/xero-ruby/models/line_amount_types.rb,
lib/xero-ruby/models/payment_term_type.rb,
lib/xero-ruby/models/repeating_invoice.rb,
lib/xero-ruby/models/tracking_category.rb,
lib/xero-ruby/models/line_item_tracking.rb,
lib/xero-ruby/models/linked_transaction.rb,
lib/xero-ruby/models/quote_status_codes.rb,
lib/xero-ruby/models/repeating_invoices.rb,
lib/xero-ruby/models/accounts_receivable.rb,
lib/xero-ruby/models/linked_transactions.rb,
lib/xero-ruby/models/manual_journal_line.rb,
lib/xero-ruby/models/tracking_categories.rb,
lib/xero-ruby/models/batch_payment_details.rb,
lib/xero-ruby/models/quote_line_amount_types.rb,
lib/xero-ruby/models/sales_tracking_category.rb,
lib/xero-ruby/models/ten_nintey_nine_contact.rb
Overview
#Accounting API
#No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
The version of the OpenAPI document: 2.0.1 Contact: [email protected] Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.2.0
Defined Under Namespace
Classes: Account, AccountType, AccountingApi, Accounts, AccountsPayable, AccountsReceivable, Address, Allocation, Allocations, ApiClient, ApiError, Attachment, Attachments, Balances, BankTransaction, BankTransactions, BankTransfer, BankTransfers, BatchPayment, BatchPaymentDetails, BatchPayments, Bill, BrandingTheme, BrandingThemes, CISOrgSetting, CISSetting, CISSettings, Configuration, Contact, ContactGroup, ContactGroups, ContactPerson, Contacts, CountryCode, CreditNote, CreditNotes, Currencies, Currency, CurrencyCode, Element, Employee, Employees, Error, ExpenseClaim, ExpenseClaims, ExternalLink, HistoryRecord, HistoryRecords, Invoice, InvoiceReminder, InvoiceReminders, Invoices, Item, Items, Journal, JournalLine, Journals, LineAmountTypes, LineItem, LineItemTracking, LinkedTransaction, LinkedTransactions, ManualJournal, ManualJournalLine, ManualJournals, OnlineInvoice, OnlineInvoices, Organisation, Organisations, Overpayment, Overpayments, Payment, PaymentService, PaymentServices, PaymentTerm, PaymentTermType, Payments, Phone, Prepayment, Prepayments, Purchase, PurchaseOrder, PurchaseOrders, Quote, QuoteLineAmountTypes, QuoteStatusCodes, Quotes, Receipt, Receipts, RepeatingInvoice, RepeatingInvoices, Report, ReportAttribute, ReportCell, ReportFields, ReportRow, ReportRows, ReportWithRow, ReportWithRows, Reports, RequestEmpty, RowType, SalesTrackingCategory, Schedule, TaxComponent, TaxRate, TaxRates, TaxType, TenNinteyNineContact, TimeZone, TrackingCategories, TrackingCategory, TrackingOption, TrackingOptions, User, Users, ValidationError
Constant Summary collapse
- VERSION =
'0.2.0'
Class Method Summary collapse
-
.configure ⇒ Object
Customize default settings for the SDK using block.
Class Method Details
.configure ⇒ Object
Customize default settings for the SDK using block. XeroRuby.configure do |config| config.username = "xxx" config.password = "xxx" end If no block given, return the default Configuration object.
145 146 147 148 149 150 151 |
# File 'lib/xero-ruby.rb', line 145 def configure if block_given? yield(Configuration.default) else Configuration.default end end |