xero-ruby 0.1.1 → 0.1.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/Gemfile.lock +1 -1
- data/README.md +6 -6
- data/git_push.sh +1 -1
- data/lib/xero-ruby/models/account.rb +1 -1
- data/lib/xero-ruby/models/accounts.rb +1 -1
- data/lib/xero-ruby/models/accounts_payable.rb +1 -1
- data/lib/xero-ruby/models/accounts_receivable.rb +1 -1
- data/lib/xero-ruby/models/address.rb +1 -1
- data/lib/xero-ruby/models/allocation.rb +1 -1
- data/lib/xero-ruby/models/allocations.rb +1 -1
- data/lib/xero-ruby/models/attachment.rb +1 -1
- data/lib/xero-ruby/models/attachments.rb +1 -1
- data/lib/xero-ruby/models/balances.rb +1 -1
- data/lib/xero-ruby/models/bank_transaction.rb +1 -1
- data/lib/xero-ruby/models/bank_transactions.rb +1 -1
- data/lib/xero-ruby/models/bank_transfer.rb +1 -1
- data/lib/xero-ruby/models/bank_transfers.rb +1 -1
- data/lib/xero-ruby/models/batch_payment.rb +1 -1
- data/lib/xero-ruby/models/batch_payment_details.rb +1 -1
- data/lib/xero-ruby/models/batch_payments.rb +1 -1
- data/lib/xero-ruby/models/bill.rb +1 -1
- data/lib/xero-ruby/models/branding_theme.rb +1 -1
- data/lib/xero-ruby/models/branding_themes.rb +1 -1
- data/lib/xero-ruby/models/cis_org_setting.rb +1 -1
- data/lib/xero-ruby/models/cis_setting.rb +1 -1
- data/lib/xero-ruby/models/cis_settings.rb +1 -1
- data/lib/xero-ruby/models/contact.rb +1 -1
- data/lib/xero-ruby/models/contact_group.rb +1 -1
- data/lib/xero-ruby/models/contact_groups.rb +1 -1
- data/lib/xero-ruby/models/contact_person.rb +1 -1
- data/lib/xero-ruby/models/contacts.rb +1 -1
- data/lib/xero-ruby/models/credit_note.rb +1 -1
- data/lib/xero-ruby/models/credit_notes.rb +1 -1
- data/lib/xero-ruby/models/currencies.rb +1 -1
- data/lib/xero-ruby/models/currency.rb +1 -1
- data/lib/xero-ruby/models/element.rb +1 -1
- data/lib/xero-ruby/models/employee.rb +1 -1
- data/lib/xero-ruby/models/employees.rb +1 -1
- data/lib/xero-ruby/models/error.rb +1 -1
- data/lib/xero-ruby/models/expense_claim.rb +1 -1
- data/lib/xero-ruby/models/expense_claims.rb +1 -1
- data/lib/xero-ruby/models/external_link.rb +1 -1
- data/lib/xero-ruby/models/history_record.rb +1 -1
- data/lib/xero-ruby/models/history_records.rb +1 -1
- data/lib/xero-ruby/models/invoice.rb +1 -1
- data/lib/xero-ruby/models/invoice_reminder.rb +1 -1
- data/lib/xero-ruby/models/invoice_reminders.rb +1 -1
- data/lib/xero-ruby/models/invoices.rb +1 -1
- data/lib/xero-ruby/models/item.rb +1 -1
- data/lib/xero-ruby/models/items.rb +1 -1
- data/lib/xero-ruby/models/journal.rb +1 -1
- data/lib/xero-ruby/models/journal_line.rb +1 -1
- data/lib/xero-ruby/models/journals.rb +1 -1
- data/lib/xero-ruby/models/line_item.rb +1 -1
- data/lib/xero-ruby/models/line_item_tracking.rb +1 -1
- data/lib/xero-ruby/models/linked_transaction.rb +1 -1
- data/lib/xero-ruby/models/linked_transactions.rb +1 -1
- data/lib/xero-ruby/models/manual_journal.rb +1 -1
- data/lib/xero-ruby/models/manual_journal_line.rb +1 -1
- data/lib/xero-ruby/models/manual_journals.rb +1 -1
- data/lib/xero-ruby/models/online_invoice.rb +1 -1
- data/lib/xero-ruby/models/online_invoices.rb +1 -1
- data/lib/xero-ruby/models/organisation.rb +1 -1
- data/lib/xero-ruby/models/organisations.rb +1 -1
- data/lib/xero-ruby/models/overpayment.rb +1 -1
- data/lib/xero-ruby/models/overpayments.rb +1 -1
- data/lib/xero-ruby/models/payment.rb +1 -1
- data/lib/xero-ruby/models/payment_service.rb +1 -1
- data/lib/xero-ruby/models/payment_services.rb +1 -1
- data/lib/xero-ruby/models/payment_term.rb +1 -1
- data/lib/xero-ruby/models/payments.rb +1 -1
- data/lib/xero-ruby/models/phone.rb +1 -1
- data/lib/xero-ruby/models/prepayment.rb +1 -1
- data/lib/xero-ruby/models/prepayments.rb +1 -1
- data/lib/xero-ruby/models/purchase.rb +1 -1
- data/lib/xero-ruby/models/purchase_order.rb +1 -1
- data/lib/xero-ruby/models/purchase_orders.rb +1 -1
- data/lib/xero-ruby/models/receipt.rb +1 -1
- data/lib/xero-ruby/models/receipts.rb +1 -1
- data/lib/xero-ruby/models/repeating_invoice.rb +1 -1
- data/lib/xero-ruby/models/repeating_invoices.rb +1 -1
- data/lib/xero-ruby/models/report.rb +1 -1
- data/lib/xero-ruby/models/report_attribute.rb +1 -1
- data/lib/xero-ruby/models/report_cell.rb +1 -1
- data/lib/xero-ruby/models/report_fields.rb +1 -1
- data/lib/xero-ruby/models/report_row.rb +1 -1
- data/lib/xero-ruby/models/report_rows.rb +1 -1
- data/lib/xero-ruby/models/report_with_row.rb +1 -1
- data/lib/xero-ruby/models/report_with_rows.rb +1 -1
- data/lib/xero-ruby/models/reports.rb +1 -1
- data/lib/xero-ruby/models/request_empty.rb +1 -1
- data/lib/xero-ruby/models/sales_tracking_category.rb +1 -1
- data/lib/xero-ruby/models/schedule.rb +1 -1
- data/lib/xero-ruby/models/tax_component.rb +1 -1
- data/lib/xero-ruby/models/tax_rate.rb +1 -1
- data/lib/xero-ruby/models/tax_rates.rb +1 -1
- data/lib/xero-ruby/models/ten_nintey_nine_contact.rb +1 -1
- data/lib/xero-ruby/models/tracking_categories.rb +1 -1
- data/lib/xero-ruby/models/tracking_category.rb +1 -1
- data/lib/xero-ruby/models/tracking_option.rb +1 -1
- data/lib/xero-ruby/models/tracking_options.rb +1 -1
- data/lib/xero-ruby/models/user.rb +1 -1
- data/lib/xero-ruby/models/users.rb +1 -1
- data/lib/xero-ruby/models/validation_error.rb +1 -1
- data/lib/xero-ruby/version.rb +1 -1
- data/pkg/xero-ruby-0.1.2.gem +0 -0
- data/spec/api/accounting_api_spec.rb +410 -58
- data/spec/api_client_spec.rb +31 -31
- data/spec/configuration_spec.rb +5 -5
- data/spec/models/account_spec.rb +6 -6
- data/spec/models/account_type_spec.rb +5 -5
- data/spec/models/accounts_payable_spec.rb +5 -5
- data/spec/models/accounts_receivable_spec.rb +5 -5
- data/spec/models/accounts_spec.rb +5 -5
- data/spec/models/address_spec.rb +5 -5
- data/spec/models/allocation_spec.rb +5 -5
- data/spec/models/allocations_spec.rb +5 -5
- data/spec/models/attachment_spec.rb +5 -5
- data/spec/models/attachments_spec.rb +5 -5
- data/spec/models/balances_spec.rb +5 -5
- data/spec/models/bank_transaction_spec.rb +7 -7
- data/spec/models/bank_transactions_spec.rb +5 -5
- data/spec/models/bank_transfer_spec.rb +5 -5
- data/spec/models/bank_transfers_spec.rb +5 -5
- data/spec/models/batch_payment_details_spec.rb +5 -5
- data/spec/models/batch_payment_spec.rb +5 -5
- data/spec/models/batch_payments_spec.rb +5 -5
- data/spec/models/bill_spec.rb +5 -5
- data/spec/models/branding_theme_spec.rb +5 -5
- data/spec/models/branding_themes_spec.rb +5 -5
- data/spec/models/cis_org_setting_spec.rb +5 -5
- data/spec/models/cis_setting_spec.rb +5 -5
- data/spec/models/cis_settings_spec.rb +5 -5
- data/spec/models/contact_group_spec.rb +5 -5
- data/spec/models/contact_groups_spec.rb +5 -5
- data/spec/models/contact_person_spec.rb +5 -5
- data/spec/models/contact_spec.rb +5 -5
- data/spec/models/contacts_spec.rb +5 -5
- data/spec/models/country_code_spec.rb +5 -5
- data/spec/models/credit_note_spec.rb +5 -5
- data/spec/models/credit_notes_spec.rb +5 -5
- data/spec/models/currencies_spec.rb +5 -5
- data/spec/models/currency_code_spec.rb +5 -5
- data/spec/models/currency_spec.rb +5 -5
- data/spec/models/element_spec.rb +5 -5
- data/spec/models/employee_spec.rb +5 -5
- data/spec/models/employees_spec.rb +5 -5
- data/spec/models/error_spec.rb +5 -5
- data/spec/models/expense_claim_spec.rb +5 -5
- data/spec/models/expense_claims_spec.rb +5 -5
- data/spec/models/external_link_spec.rb +5 -5
- data/spec/models/history_record_spec.rb +5 -5
- data/spec/models/history_records_spec.rb +5 -5
- data/spec/models/invoice_reminder_spec.rb +5 -5
- data/spec/models/invoice_reminders_spec.rb +5 -5
- data/spec/models/invoice_spec.rb +12 -6
- data/spec/models/invoices_spec.rb +5 -5
- data/spec/models/item_spec.rb +5 -5
- data/spec/models/items_spec.rb +5 -5
- data/spec/models/journal_line_spec.rb +5 -5
- data/spec/models/journal_spec.rb +5 -5
- data/spec/models/journals_spec.rb +5 -5
- data/spec/models/line_amount_types_spec.rb +5 -5
- data/spec/models/line_item_spec.rb +11 -5
- data/spec/models/line_item_tracking_spec.rb +5 -5
- data/spec/models/linked_transaction_spec.rb +5 -5
- data/spec/models/linked_transactions_spec.rb +5 -5
- data/spec/models/manual_journal_line_spec.rb +5 -5
- data/spec/models/manual_journal_spec.rb +5 -5
- data/spec/models/manual_journals_spec.rb +5 -5
- data/spec/models/online_invoice_spec.rb +5 -5
- data/spec/models/online_invoices_spec.rb +5 -5
- data/spec/models/organisation_spec.rb +7 -7
- data/spec/models/organisations_spec.rb +5 -5
- data/spec/models/overpayment_spec.rb +6 -6
- data/spec/models/overpayments_spec.rb +5 -5
- data/spec/models/payment_service_spec.rb +5 -5
- data/spec/models/payment_services_spec.rb +5 -5
- data/spec/models/payment_spec.rb +5 -5
- data/spec/models/payment_term_spec.rb +5 -5
- data/spec/models/payment_term_type_spec.rb +5 -5
- data/spec/models/payments_spec.rb +5 -5
- data/spec/models/phone_spec.rb +5 -5
- data/spec/models/prepayment_spec.rb +6 -6
- data/spec/models/prepayments_spec.rb +5 -5
- data/spec/models/purchase_order_spec.rb +5 -5
- data/spec/models/purchase_orders_spec.rb +5 -5
- data/spec/models/purchase_spec.rb +5 -5
- data/spec/models/receipt_spec.rb +7 -7
- data/spec/models/receipts_spec.rb +5 -5
- data/spec/models/repeating_invoice_spec.rb +5 -5
- data/spec/models/repeating_invoices_spec.rb +5 -5
- data/spec/models/report_attribute_spec.rb +5 -5
- data/spec/models/report_cell_spec.rb +5 -5
- data/spec/models/report_fields_spec.rb +5 -5
- data/spec/models/report_row_spec.rb +5 -5
- data/spec/models/report_rows_spec.rb +5 -5
- data/spec/models/report_spec.rb +5 -5
- data/spec/models/report_with_row_spec.rb +5 -5
- data/spec/models/report_with_rows_spec.rb +5 -5
- data/spec/models/reports_spec.rb +5 -5
- data/spec/models/request_empty_spec.rb +5 -5
- data/spec/models/row_type_spec.rb +5 -5
- data/spec/models/schedule_spec.rb +5 -5
- data/spec/models/tax_component_spec.rb +5 -5
- data/spec/models/tax_rate_spec.rb +6 -6
- data/spec/models/tax_rates_spec.rb +5 -5
- data/spec/models/tax_type_spec.rb +5 -5
- data/spec/models/ten_nintey_nine_contact_spec.rb +5 -5
- data/spec/models/time_zone_spec.rb +5 -5
- data/spec/models/tracking_categories_spec.rb +5 -5
- data/spec/models/tracking_category_spec.rb +6 -6
- data/spec/models/tracking_option_spec.rb +6 -6
- data/spec/models/tracking_options_spec.rb +5 -5
- data/spec/models/user_spec.rb +6 -6
- data/spec/models/users_spec.rb +5 -5
- data/spec/models/validation_error_spec.rb +5 -5
- data/spec/spec_helper.rb +3 -3
- data/xero-ruby.gemspec +2 -2
- metadata +5 -7
- data/lib/.DS_Store +0 -0
- data/pkg/xero-ruby-0.1.0.gem +0 -0
- data/pkg/xero-ruby-1.0.0.gem +0 -0
|
@@ -3,10 +3,10 @@
|
|
|
3
3
|
|
|
4
4
|
#No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
5
5
|
|
|
6
|
-
OpenAPI
|
|
6
|
+
The version of the OpenAPI document: 2.0.0
|
|
7
7
|
Contact: api@xero.com
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
|
9
|
-
OpenAPI Generator version:
|
|
9
|
+
OpenAPI Generator version: 4.0.3
|
|
10
10
|
|
|
11
11
|
=end
|
|
12
12
|
|
|
@@ -14,13 +14,13 @@ require 'spec_helper'
|
|
|
14
14
|
require 'json'
|
|
15
15
|
require 'date'
|
|
16
16
|
|
|
17
|
-
# Unit tests for
|
|
17
|
+
# Unit tests for XeroRuby::LineItemTracking
|
|
18
18
|
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
|
19
19
|
# Please update as you see appropriate
|
|
20
20
|
describe 'LineItemTracking' do
|
|
21
21
|
before do
|
|
22
22
|
# run before each test
|
|
23
|
-
@instance =
|
|
23
|
+
@instance = XeroRuby::LineItemTracking.new
|
|
24
24
|
end
|
|
25
25
|
|
|
26
26
|
after do
|
|
@@ -29,7 +29,7 @@ describe 'LineItemTracking' do
|
|
|
29
29
|
|
|
30
30
|
describe 'test an instance of LineItemTracking' do
|
|
31
31
|
it 'should create an instance of LineItemTracking' do
|
|
32
|
-
expect(@instance).to be_instance_of(
|
|
32
|
+
expect(@instance).to be_instance_of(XeroRuby::LineItemTracking)
|
|
33
33
|
end
|
|
34
34
|
end
|
|
35
35
|
describe 'test attribute "tracking_category_id"' do
|
|
@@ -3,10 +3,10 @@
|
|
|
3
3
|
|
|
4
4
|
#No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
5
5
|
|
|
6
|
-
OpenAPI
|
|
6
|
+
The version of the OpenAPI document: 2.0.0
|
|
7
7
|
Contact: api@xero.com
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
|
9
|
-
OpenAPI Generator version:
|
|
9
|
+
OpenAPI Generator version: 4.0.3
|
|
10
10
|
|
|
11
11
|
=end
|
|
12
12
|
|
|
@@ -14,13 +14,13 @@ require 'spec_helper'
|
|
|
14
14
|
require 'json'
|
|
15
15
|
require 'date'
|
|
16
16
|
|
|
17
|
-
# Unit tests for
|
|
17
|
+
# Unit tests for XeroRuby::LinkedTransaction
|
|
18
18
|
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
|
19
19
|
# Please update as you see appropriate
|
|
20
20
|
describe 'LinkedTransaction' do
|
|
21
21
|
before do
|
|
22
22
|
# run before each test
|
|
23
|
-
@instance =
|
|
23
|
+
@instance = XeroRuby::LinkedTransaction.new
|
|
24
24
|
end
|
|
25
25
|
|
|
26
26
|
after do
|
|
@@ -29,7 +29,7 @@ describe 'LinkedTransaction' do
|
|
|
29
29
|
|
|
30
30
|
describe 'test an instance of LinkedTransaction' do
|
|
31
31
|
it 'should create an instance of LinkedTransaction' do
|
|
32
|
-
expect(@instance).to be_instance_of(
|
|
32
|
+
expect(@instance).to be_instance_of(XeroRuby::LinkedTransaction)
|
|
33
33
|
end
|
|
34
34
|
end
|
|
35
35
|
describe 'test attribute "source_transaction_id"' do
|
|
@@ -3,10 +3,10 @@
|
|
|
3
3
|
|
|
4
4
|
#No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
5
5
|
|
|
6
|
-
OpenAPI
|
|
6
|
+
The version of the OpenAPI document: 2.0.0
|
|
7
7
|
Contact: api@xero.com
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
|
9
|
-
OpenAPI Generator version:
|
|
9
|
+
OpenAPI Generator version: 4.0.3
|
|
10
10
|
|
|
11
11
|
=end
|
|
12
12
|
|
|
@@ -14,13 +14,13 @@ require 'spec_helper'
|
|
|
14
14
|
require 'json'
|
|
15
15
|
require 'date'
|
|
16
16
|
|
|
17
|
-
# Unit tests for
|
|
17
|
+
# Unit tests for XeroRuby::LinkedTransactions
|
|
18
18
|
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
|
19
19
|
# Please update as you see appropriate
|
|
20
20
|
describe 'LinkedTransactions' do
|
|
21
21
|
before do
|
|
22
22
|
# run before each test
|
|
23
|
-
@instance =
|
|
23
|
+
@instance = XeroRuby::LinkedTransactions.new
|
|
24
24
|
end
|
|
25
25
|
|
|
26
26
|
after do
|
|
@@ -29,7 +29,7 @@ describe 'LinkedTransactions' do
|
|
|
29
29
|
|
|
30
30
|
describe 'test an instance of LinkedTransactions' do
|
|
31
31
|
it 'should create an instance of LinkedTransactions' do
|
|
32
|
-
expect(@instance).to be_instance_of(
|
|
32
|
+
expect(@instance).to be_instance_of(XeroRuby::LinkedTransactions)
|
|
33
33
|
end
|
|
34
34
|
end
|
|
35
35
|
describe 'test attribute "linked_transactions"' do
|
|
@@ -3,10 +3,10 @@
|
|
|
3
3
|
|
|
4
4
|
#No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
5
5
|
|
|
6
|
-
OpenAPI
|
|
6
|
+
The version of the OpenAPI document: 2.0.0
|
|
7
7
|
Contact: api@xero.com
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
|
9
|
-
OpenAPI Generator version:
|
|
9
|
+
OpenAPI Generator version: 4.0.3
|
|
10
10
|
|
|
11
11
|
=end
|
|
12
12
|
|
|
@@ -14,13 +14,13 @@ require 'spec_helper'
|
|
|
14
14
|
require 'json'
|
|
15
15
|
require 'date'
|
|
16
16
|
|
|
17
|
-
# Unit tests for
|
|
17
|
+
# Unit tests for XeroRuby::ManualJournalLine
|
|
18
18
|
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
|
19
19
|
# Please update as you see appropriate
|
|
20
20
|
describe 'ManualJournalLine' do
|
|
21
21
|
before do
|
|
22
22
|
# run before each test
|
|
23
|
-
@instance =
|
|
23
|
+
@instance = XeroRuby::ManualJournalLine.new
|
|
24
24
|
end
|
|
25
25
|
|
|
26
26
|
after do
|
|
@@ -29,7 +29,7 @@ describe 'ManualJournalLine' do
|
|
|
29
29
|
|
|
30
30
|
describe 'test an instance of ManualJournalLine' do
|
|
31
31
|
it 'should create an instance of ManualJournalLine' do
|
|
32
|
-
expect(@instance).to be_instance_of(
|
|
32
|
+
expect(@instance).to be_instance_of(XeroRuby::ManualJournalLine)
|
|
33
33
|
end
|
|
34
34
|
end
|
|
35
35
|
describe 'test attribute "line_amount"' do
|
|
@@ -3,10 +3,10 @@
|
|
|
3
3
|
|
|
4
4
|
#No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
5
5
|
|
|
6
|
-
OpenAPI
|
|
6
|
+
The version of the OpenAPI document: 2.0.0
|
|
7
7
|
Contact: api@xero.com
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
|
9
|
-
OpenAPI Generator version:
|
|
9
|
+
OpenAPI Generator version: 4.0.3
|
|
10
10
|
|
|
11
11
|
=end
|
|
12
12
|
|
|
@@ -14,13 +14,13 @@ require 'spec_helper'
|
|
|
14
14
|
require 'json'
|
|
15
15
|
require 'date'
|
|
16
16
|
|
|
17
|
-
# Unit tests for
|
|
17
|
+
# Unit tests for XeroRuby::ManualJournal
|
|
18
18
|
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
|
19
19
|
# Please update as you see appropriate
|
|
20
20
|
describe 'ManualJournal' do
|
|
21
21
|
before do
|
|
22
22
|
# run before each test
|
|
23
|
-
@instance =
|
|
23
|
+
@instance = XeroRuby::ManualJournal.new
|
|
24
24
|
end
|
|
25
25
|
|
|
26
26
|
after do
|
|
@@ -29,7 +29,7 @@ describe 'ManualJournal' do
|
|
|
29
29
|
|
|
30
30
|
describe 'test an instance of ManualJournal' do
|
|
31
31
|
it 'should create an instance of ManualJournal' do
|
|
32
|
-
expect(@instance).to be_instance_of(
|
|
32
|
+
expect(@instance).to be_instance_of(XeroRuby::ManualJournal)
|
|
33
33
|
end
|
|
34
34
|
end
|
|
35
35
|
describe 'test attribute "narration"' do
|
|
@@ -3,10 +3,10 @@
|
|
|
3
3
|
|
|
4
4
|
#No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
5
5
|
|
|
6
|
-
OpenAPI
|
|
6
|
+
The version of the OpenAPI document: 2.0.0
|
|
7
7
|
Contact: api@xero.com
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
|
9
|
-
OpenAPI Generator version:
|
|
9
|
+
OpenAPI Generator version: 4.0.3
|
|
10
10
|
|
|
11
11
|
=end
|
|
12
12
|
|
|
@@ -14,13 +14,13 @@ require 'spec_helper'
|
|
|
14
14
|
require 'json'
|
|
15
15
|
require 'date'
|
|
16
16
|
|
|
17
|
-
# Unit tests for
|
|
17
|
+
# Unit tests for XeroRuby::ManualJournals
|
|
18
18
|
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
|
19
19
|
# Please update as you see appropriate
|
|
20
20
|
describe 'ManualJournals' do
|
|
21
21
|
before do
|
|
22
22
|
# run before each test
|
|
23
|
-
@instance =
|
|
23
|
+
@instance = XeroRuby::ManualJournals.new
|
|
24
24
|
end
|
|
25
25
|
|
|
26
26
|
after do
|
|
@@ -29,7 +29,7 @@ describe 'ManualJournals' do
|
|
|
29
29
|
|
|
30
30
|
describe 'test an instance of ManualJournals' do
|
|
31
31
|
it 'should create an instance of ManualJournals' do
|
|
32
|
-
expect(@instance).to be_instance_of(
|
|
32
|
+
expect(@instance).to be_instance_of(XeroRuby::ManualJournals)
|
|
33
33
|
end
|
|
34
34
|
end
|
|
35
35
|
describe 'test attribute "manual_journals"' do
|
|
@@ -3,10 +3,10 @@
|
|
|
3
3
|
|
|
4
4
|
#No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
5
5
|
|
|
6
|
-
OpenAPI
|
|
6
|
+
The version of the OpenAPI document: 2.0.0
|
|
7
7
|
Contact: api@xero.com
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
|
9
|
-
OpenAPI Generator version:
|
|
9
|
+
OpenAPI Generator version: 4.0.3
|
|
10
10
|
|
|
11
11
|
=end
|
|
12
12
|
|
|
@@ -14,13 +14,13 @@ require 'spec_helper'
|
|
|
14
14
|
require 'json'
|
|
15
15
|
require 'date'
|
|
16
16
|
|
|
17
|
-
# Unit tests for
|
|
17
|
+
# Unit tests for XeroRuby::OnlineInvoice
|
|
18
18
|
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
|
19
19
|
# Please update as you see appropriate
|
|
20
20
|
describe 'OnlineInvoice' do
|
|
21
21
|
before do
|
|
22
22
|
# run before each test
|
|
23
|
-
@instance =
|
|
23
|
+
@instance = XeroRuby::OnlineInvoice.new
|
|
24
24
|
end
|
|
25
25
|
|
|
26
26
|
after do
|
|
@@ -29,7 +29,7 @@ describe 'OnlineInvoice' do
|
|
|
29
29
|
|
|
30
30
|
describe 'test an instance of OnlineInvoice' do
|
|
31
31
|
it 'should create an instance of OnlineInvoice' do
|
|
32
|
-
expect(@instance).to be_instance_of(
|
|
32
|
+
expect(@instance).to be_instance_of(XeroRuby::OnlineInvoice)
|
|
33
33
|
end
|
|
34
34
|
end
|
|
35
35
|
describe 'test attribute "online_invoice_url"' do
|
|
@@ -3,10 +3,10 @@
|
|
|
3
3
|
|
|
4
4
|
#No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
5
5
|
|
|
6
|
-
OpenAPI
|
|
6
|
+
The version of the OpenAPI document: 2.0.0
|
|
7
7
|
Contact: api@xero.com
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
|
9
|
-
OpenAPI Generator version:
|
|
9
|
+
OpenAPI Generator version: 4.0.3
|
|
10
10
|
|
|
11
11
|
=end
|
|
12
12
|
|
|
@@ -14,13 +14,13 @@ require 'spec_helper'
|
|
|
14
14
|
require 'json'
|
|
15
15
|
require 'date'
|
|
16
16
|
|
|
17
|
-
# Unit tests for
|
|
17
|
+
# Unit tests for XeroRuby::OnlineInvoices
|
|
18
18
|
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
|
19
19
|
# Please update as you see appropriate
|
|
20
20
|
describe 'OnlineInvoices' do
|
|
21
21
|
before do
|
|
22
22
|
# run before each test
|
|
23
|
-
@instance =
|
|
23
|
+
@instance = XeroRuby::OnlineInvoices.new
|
|
24
24
|
end
|
|
25
25
|
|
|
26
26
|
after do
|
|
@@ -29,7 +29,7 @@ describe 'OnlineInvoices' do
|
|
|
29
29
|
|
|
30
30
|
describe 'test an instance of OnlineInvoices' do
|
|
31
31
|
it 'should create an instance of OnlineInvoices' do
|
|
32
|
-
expect(@instance).to be_instance_of(
|
|
32
|
+
expect(@instance).to be_instance_of(XeroRuby::OnlineInvoices)
|
|
33
33
|
end
|
|
34
34
|
end
|
|
35
35
|
describe 'test attribute "online_invoices"' do
|
|
@@ -3,10 +3,10 @@
|
|
|
3
3
|
|
|
4
4
|
#No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
5
5
|
|
|
6
|
-
OpenAPI
|
|
6
|
+
The version of the OpenAPI document: 2.0.0
|
|
7
7
|
Contact: api@xero.com
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
|
9
|
-
OpenAPI Generator version:
|
|
9
|
+
OpenAPI Generator version: 4.0.3
|
|
10
10
|
|
|
11
11
|
=end
|
|
12
12
|
|
|
@@ -14,13 +14,13 @@ require 'spec_helper'
|
|
|
14
14
|
require 'json'
|
|
15
15
|
require 'date'
|
|
16
16
|
|
|
17
|
-
# Unit tests for
|
|
17
|
+
# Unit tests for XeroRuby::Organisation
|
|
18
18
|
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
|
19
19
|
# Please update as you see appropriate
|
|
20
20
|
describe 'Organisation' do
|
|
21
21
|
before do
|
|
22
22
|
# run before each test
|
|
23
|
-
@instance =
|
|
23
|
+
@instance = XeroRuby::Organisation.new
|
|
24
24
|
end
|
|
25
25
|
|
|
26
26
|
after do
|
|
@@ -29,7 +29,7 @@ describe 'Organisation' do
|
|
|
29
29
|
|
|
30
30
|
describe 'test an instance of Organisation' do
|
|
31
31
|
it 'should create an instance of Organisation' do
|
|
32
|
-
expect(@instance).to be_instance_of(
|
|
32
|
+
expect(@instance).to be_instance_of(XeroRuby::Organisation)
|
|
33
33
|
end
|
|
34
34
|
end
|
|
35
35
|
describe 'test attribute "organisation_id"' do
|
|
@@ -75,7 +75,7 @@ describe 'Organisation' do
|
|
|
75
75
|
describe 'test attribute "organisation_type"' do
|
|
76
76
|
it 'should work' do
|
|
77
77
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
78
|
-
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["COMPANY", "CHARITY", "
|
|
78
|
+
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["COMPANY", "CHARITY", "CLUB_OR_SOCIETY", "LOOK_THROUGH_COMPANY", "NOT_FOR_PROFIT", "PARTNERSHIP", "S_CORPORATION", "SELF_MANAGED_SUPERANNUATION_FUND", "SOLE_TRADER", "SUPERANNUATION_FUND", "TRUST"])
|
|
79
79
|
# validator.allowable_values.each do |value|
|
|
80
80
|
# expect { @instance.organisation_type = value }.not_to raise_error
|
|
81
81
|
# end
|
|
@@ -189,7 +189,7 @@ describe 'Organisation' do
|
|
|
189
189
|
describe 'test attribute "organisation_entity_type"' do
|
|
190
190
|
it 'should work' do
|
|
191
191
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
192
|
-
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["COMPANY", "CHARITY", "
|
|
192
|
+
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["COMPANY", "CHARITY", "CLUB_OR_SOCIETY", "LOOK_THROUGH_COMPANY", "NOT_FOR_PROFIT", "PARTNERSHIP", "S_CORPORATION", "SELF_MANAGED_SUPERANNUATION_FUND", "SOLE_TRADER", "SUPERANNUATION_FUND", "TRUST"])
|
|
193
193
|
# validator.allowable_values.each do |value|
|
|
194
194
|
# expect { @instance.organisation_entity_type = value }.not_to raise_error
|
|
195
195
|
# end
|
|
@@ -3,10 +3,10 @@
|
|
|
3
3
|
|
|
4
4
|
#No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
5
5
|
|
|
6
|
-
OpenAPI
|
|
6
|
+
The version of the OpenAPI document: 2.0.0
|
|
7
7
|
Contact: api@xero.com
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
|
9
|
-
OpenAPI Generator version:
|
|
9
|
+
OpenAPI Generator version: 4.0.3
|
|
10
10
|
|
|
11
11
|
=end
|
|
12
12
|
|
|
@@ -14,13 +14,13 @@ require 'spec_helper'
|
|
|
14
14
|
require 'json'
|
|
15
15
|
require 'date'
|
|
16
16
|
|
|
17
|
-
# Unit tests for
|
|
17
|
+
# Unit tests for XeroRuby::Organisations
|
|
18
18
|
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
|
19
19
|
# Please update as you see appropriate
|
|
20
20
|
describe 'Organisations' do
|
|
21
21
|
before do
|
|
22
22
|
# run before each test
|
|
23
|
-
@instance =
|
|
23
|
+
@instance = XeroRuby::Organisations.new
|
|
24
24
|
end
|
|
25
25
|
|
|
26
26
|
after do
|
|
@@ -29,7 +29,7 @@ describe 'Organisations' do
|
|
|
29
29
|
|
|
30
30
|
describe 'test an instance of Organisations' do
|
|
31
31
|
it 'should create an instance of Organisations' do
|
|
32
|
-
expect(@instance).to be_instance_of(
|
|
32
|
+
expect(@instance).to be_instance_of(XeroRuby::Organisations)
|
|
33
33
|
end
|
|
34
34
|
end
|
|
35
35
|
describe 'test attribute "organisations"' do
|
|
@@ -3,10 +3,10 @@
|
|
|
3
3
|
|
|
4
4
|
#No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
5
5
|
|
|
6
|
-
OpenAPI
|
|
6
|
+
The version of the OpenAPI document: 2.0.0
|
|
7
7
|
Contact: api@xero.com
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
|
9
|
-
OpenAPI Generator version:
|
|
9
|
+
OpenAPI Generator version: 4.0.3
|
|
10
10
|
|
|
11
11
|
=end
|
|
12
12
|
|
|
@@ -14,13 +14,13 @@ require 'spec_helper'
|
|
|
14
14
|
require 'json'
|
|
15
15
|
require 'date'
|
|
16
16
|
|
|
17
|
-
# Unit tests for
|
|
17
|
+
# Unit tests for XeroRuby::Overpayment
|
|
18
18
|
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
|
19
19
|
# Please update as you see appropriate
|
|
20
20
|
describe 'Overpayment' do
|
|
21
21
|
before do
|
|
22
22
|
# run before each test
|
|
23
|
-
@instance =
|
|
23
|
+
@instance = XeroRuby::Overpayment.new
|
|
24
24
|
end
|
|
25
25
|
|
|
26
26
|
after do
|
|
@@ -29,13 +29,13 @@ describe 'Overpayment' do
|
|
|
29
29
|
|
|
30
30
|
describe 'test an instance of Overpayment' do
|
|
31
31
|
it 'should create an instance of Overpayment' do
|
|
32
|
-
expect(@instance).to be_instance_of(
|
|
32
|
+
expect(@instance).to be_instance_of(XeroRuby::Overpayment)
|
|
33
33
|
end
|
|
34
34
|
end
|
|
35
35
|
describe 'test attribute "type"' do
|
|
36
36
|
it 'should work' do
|
|
37
37
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
38
|
-
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["RECEIVE-OVERPAYMENT", "SPEND-OVERPAYMENT"])
|
|
38
|
+
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["RECEIVE-OVERPAYMENT", "SPEND-OVERPAYMENT", "AROVERPAYMENT"])
|
|
39
39
|
# validator.allowable_values.each do |value|
|
|
40
40
|
# expect { @instance.type = value }.not_to raise_error
|
|
41
41
|
# end
|
|
@@ -3,10 +3,10 @@
|
|
|
3
3
|
|
|
4
4
|
#No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
5
5
|
|
|
6
|
-
OpenAPI
|
|
6
|
+
The version of the OpenAPI document: 2.0.0
|
|
7
7
|
Contact: api@xero.com
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
|
9
|
-
OpenAPI Generator version:
|
|
9
|
+
OpenAPI Generator version: 4.0.3
|
|
10
10
|
|
|
11
11
|
=end
|
|
12
12
|
|
|
@@ -14,13 +14,13 @@ require 'spec_helper'
|
|
|
14
14
|
require 'json'
|
|
15
15
|
require 'date'
|
|
16
16
|
|
|
17
|
-
# Unit tests for
|
|
17
|
+
# Unit tests for XeroRuby::Overpayments
|
|
18
18
|
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
|
19
19
|
# Please update as you see appropriate
|
|
20
20
|
describe 'Overpayments' do
|
|
21
21
|
before do
|
|
22
22
|
# run before each test
|
|
23
|
-
@instance =
|
|
23
|
+
@instance = XeroRuby::Overpayments.new
|
|
24
24
|
end
|
|
25
25
|
|
|
26
26
|
after do
|
|
@@ -29,7 +29,7 @@ describe 'Overpayments' do
|
|
|
29
29
|
|
|
30
30
|
describe 'test an instance of Overpayments' do
|
|
31
31
|
it 'should create an instance of Overpayments' do
|
|
32
|
-
expect(@instance).to be_instance_of(
|
|
32
|
+
expect(@instance).to be_instance_of(XeroRuby::Overpayments)
|
|
33
33
|
end
|
|
34
34
|
end
|
|
35
35
|
describe 'test attribute "overpayments"' do
|