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.
Files changed (224) hide show
  1. checksums.yaml +4 -4
  2. data/Gemfile.lock +1 -1
  3. data/README.md +6 -6
  4. data/git_push.sh +1 -1
  5. data/lib/xero-ruby/models/account.rb +1 -1
  6. data/lib/xero-ruby/models/accounts.rb +1 -1
  7. data/lib/xero-ruby/models/accounts_payable.rb +1 -1
  8. data/lib/xero-ruby/models/accounts_receivable.rb +1 -1
  9. data/lib/xero-ruby/models/address.rb +1 -1
  10. data/lib/xero-ruby/models/allocation.rb +1 -1
  11. data/lib/xero-ruby/models/allocations.rb +1 -1
  12. data/lib/xero-ruby/models/attachment.rb +1 -1
  13. data/lib/xero-ruby/models/attachments.rb +1 -1
  14. data/lib/xero-ruby/models/balances.rb +1 -1
  15. data/lib/xero-ruby/models/bank_transaction.rb +1 -1
  16. data/lib/xero-ruby/models/bank_transactions.rb +1 -1
  17. data/lib/xero-ruby/models/bank_transfer.rb +1 -1
  18. data/lib/xero-ruby/models/bank_transfers.rb +1 -1
  19. data/lib/xero-ruby/models/batch_payment.rb +1 -1
  20. data/lib/xero-ruby/models/batch_payment_details.rb +1 -1
  21. data/lib/xero-ruby/models/batch_payments.rb +1 -1
  22. data/lib/xero-ruby/models/bill.rb +1 -1
  23. data/lib/xero-ruby/models/branding_theme.rb +1 -1
  24. data/lib/xero-ruby/models/branding_themes.rb +1 -1
  25. data/lib/xero-ruby/models/cis_org_setting.rb +1 -1
  26. data/lib/xero-ruby/models/cis_setting.rb +1 -1
  27. data/lib/xero-ruby/models/cis_settings.rb +1 -1
  28. data/lib/xero-ruby/models/contact.rb +1 -1
  29. data/lib/xero-ruby/models/contact_group.rb +1 -1
  30. data/lib/xero-ruby/models/contact_groups.rb +1 -1
  31. data/lib/xero-ruby/models/contact_person.rb +1 -1
  32. data/lib/xero-ruby/models/contacts.rb +1 -1
  33. data/lib/xero-ruby/models/credit_note.rb +1 -1
  34. data/lib/xero-ruby/models/credit_notes.rb +1 -1
  35. data/lib/xero-ruby/models/currencies.rb +1 -1
  36. data/lib/xero-ruby/models/currency.rb +1 -1
  37. data/lib/xero-ruby/models/element.rb +1 -1
  38. data/lib/xero-ruby/models/employee.rb +1 -1
  39. data/lib/xero-ruby/models/employees.rb +1 -1
  40. data/lib/xero-ruby/models/error.rb +1 -1
  41. data/lib/xero-ruby/models/expense_claim.rb +1 -1
  42. data/lib/xero-ruby/models/expense_claims.rb +1 -1
  43. data/lib/xero-ruby/models/external_link.rb +1 -1
  44. data/lib/xero-ruby/models/history_record.rb +1 -1
  45. data/lib/xero-ruby/models/history_records.rb +1 -1
  46. data/lib/xero-ruby/models/invoice.rb +1 -1
  47. data/lib/xero-ruby/models/invoice_reminder.rb +1 -1
  48. data/lib/xero-ruby/models/invoice_reminders.rb +1 -1
  49. data/lib/xero-ruby/models/invoices.rb +1 -1
  50. data/lib/xero-ruby/models/item.rb +1 -1
  51. data/lib/xero-ruby/models/items.rb +1 -1
  52. data/lib/xero-ruby/models/journal.rb +1 -1
  53. data/lib/xero-ruby/models/journal_line.rb +1 -1
  54. data/lib/xero-ruby/models/journals.rb +1 -1
  55. data/lib/xero-ruby/models/line_item.rb +1 -1
  56. data/lib/xero-ruby/models/line_item_tracking.rb +1 -1
  57. data/lib/xero-ruby/models/linked_transaction.rb +1 -1
  58. data/lib/xero-ruby/models/linked_transactions.rb +1 -1
  59. data/lib/xero-ruby/models/manual_journal.rb +1 -1
  60. data/lib/xero-ruby/models/manual_journal_line.rb +1 -1
  61. data/lib/xero-ruby/models/manual_journals.rb +1 -1
  62. data/lib/xero-ruby/models/online_invoice.rb +1 -1
  63. data/lib/xero-ruby/models/online_invoices.rb +1 -1
  64. data/lib/xero-ruby/models/organisation.rb +1 -1
  65. data/lib/xero-ruby/models/organisations.rb +1 -1
  66. data/lib/xero-ruby/models/overpayment.rb +1 -1
  67. data/lib/xero-ruby/models/overpayments.rb +1 -1
  68. data/lib/xero-ruby/models/payment.rb +1 -1
  69. data/lib/xero-ruby/models/payment_service.rb +1 -1
  70. data/lib/xero-ruby/models/payment_services.rb +1 -1
  71. data/lib/xero-ruby/models/payment_term.rb +1 -1
  72. data/lib/xero-ruby/models/payments.rb +1 -1
  73. data/lib/xero-ruby/models/phone.rb +1 -1
  74. data/lib/xero-ruby/models/prepayment.rb +1 -1
  75. data/lib/xero-ruby/models/prepayments.rb +1 -1
  76. data/lib/xero-ruby/models/purchase.rb +1 -1
  77. data/lib/xero-ruby/models/purchase_order.rb +1 -1
  78. data/lib/xero-ruby/models/purchase_orders.rb +1 -1
  79. data/lib/xero-ruby/models/receipt.rb +1 -1
  80. data/lib/xero-ruby/models/receipts.rb +1 -1
  81. data/lib/xero-ruby/models/repeating_invoice.rb +1 -1
  82. data/lib/xero-ruby/models/repeating_invoices.rb +1 -1
  83. data/lib/xero-ruby/models/report.rb +1 -1
  84. data/lib/xero-ruby/models/report_attribute.rb +1 -1
  85. data/lib/xero-ruby/models/report_cell.rb +1 -1
  86. data/lib/xero-ruby/models/report_fields.rb +1 -1
  87. data/lib/xero-ruby/models/report_row.rb +1 -1
  88. data/lib/xero-ruby/models/report_rows.rb +1 -1
  89. data/lib/xero-ruby/models/report_with_row.rb +1 -1
  90. data/lib/xero-ruby/models/report_with_rows.rb +1 -1
  91. data/lib/xero-ruby/models/reports.rb +1 -1
  92. data/lib/xero-ruby/models/request_empty.rb +1 -1
  93. data/lib/xero-ruby/models/sales_tracking_category.rb +1 -1
  94. data/lib/xero-ruby/models/schedule.rb +1 -1
  95. data/lib/xero-ruby/models/tax_component.rb +1 -1
  96. data/lib/xero-ruby/models/tax_rate.rb +1 -1
  97. data/lib/xero-ruby/models/tax_rates.rb +1 -1
  98. data/lib/xero-ruby/models/ten_nintey_nine_contact.rb +1 -1
  99. data/lib/xero-ruby/models/tracking_categories.rb +1 -1
  100. data/lib/xero-ruby/models/tracking_category.rb +1 -1
  101. data/lib/xero-ruby/models/tracking_option.rb +1 -1
  102. data/lib/xero-ruby/models/tracking_options.rb +1 -1
  103. data/lib/xero-ruby/models/user.rb +1 -1
  104. data/lib/xero-ruby/models/users.rb +1 -1
  105. data/lib/xero-ruby/models/validation_error.rb +1 -1
  106. data/lib/xero-ruby/version.rb +1 -1
  107. data/pkg/xero-ruby-0.1.2.gem +0 -0
  108. data/spec/api/accounting_api_spec.rb +410 -58
  109. data/spec/api_client_spec.rb +31 -31
  110. data/spec/configuration_spec.rb +5 -5
  111. data/spec/models/account_spec.rb +6 -6
  112. data/spec/models/account_type_spec.rb +5 -5
  113. data/spec/models/accounts_payable_spec.rb +5 -5
  114. data/spec/models/accounts_receivable_spec.rb +5 -5
  115. data/spec/models/accounts_spec.rb +5 -5
  116. data/spec/models/address_spec.rb +5 -5
  117. data/spec/models/allocation_spec.rb +5 -5
  118. data/spec/models/allocations_spec.rb +5 -5
  119. data/spec/models/attachment_spec.rb +5 -5
  120. data/spec/models/attachments_spec.rb +5 -5
  121. data/spec/models/balances_spec.rb +5 -5
  122. data/spec/models/bank_transaction_spec.rb +7 -7
  123. data/spec/models/bank_transactions_spec.rb +5 -5
  124. data/spec/models/bank_transfer_spec.rb +5 -5
  125. data/spec/models/bank_transfers_spec.rb +5 -5
  126. data/spec/models/batch_payment_details_spec.rb +5 -5
  127. data/spec/models/batch_payment_spec.rb +5 -5
  128. data/spec/models/batch_payments_spec.rb +5 -5
  129. data/spec/models/bill_spec.rb +5 -5
  130. data/spec/models/branding_theme_spec.rb +5 -5
  131. data/spec/models/branding_themes_spec.rb +5 -5
  132. data/spec/models/cis_org_setting_spec.rb +5 -5
  133. data/spec/models/cis_setting_spec.rb +5 -5
  134. data/spec/models/cis_settings_spec.rb +5 -5
  135. data/spec/models/contact_group_spec.rb +5 -5
  136. data/spec/models/contact_groups_spec.rb +5 -5
  137. data/spec/models/contact_person_spec.rb +5 -5
  138. data/spec/models/contact_spec.rb +5 -5
  139. data/spec/models/contacts_spec.rb +5 -5
  140. data/spec/models/country_code_spec.rb +5 -5
  141. data/spec/models/credit_note_spec.rb +5 -5
  142. data/spec/models/credit_notes_spec.rb +5 -5
  143. data/spec/models/currencies_spec.rb +5 -5
  144. data/spec/models/currency_code_spec.rb +5 -5
  145. data/spec/models/currency_spec.rb +5 -5
  146. data/spec/models/element_spec.rb +5 -5
  147. data/spec/models/employee_spec.rb +5 -5
  148. data/spec/models/employees_spec.rb +5 -5
  149. data/spec/models/error_spec.rb +5 -5
  150. data/spec/models/expense_claim_spec.rb +5 -5
  151. data/spec/models/expense_claims_spec.rb +5 -5
  152. data/spec/models/external_link_spec.rb +5 -5
  153. data/spec/models/history_record_spec.rb +5 -5
  154. data/spec/models/history_records_spec.rb +5 -5
  155. data/spec/models/invoice_reminder_spec.rb +5 -5
  156. data/spec/models/invoice_reminders_spec.rb +5 -5
  157. data/spec/models/invoice_spec.rb +12 -6
  158. data/spec/models/invoices_spec.rb +5 -5
  159. data/spec/models/item_spec.rb +5 -5
  160. data/spec/models/items_spec.rb +5 -5
  161. data/spec/models/journal_line_spec.rb +5 -5
  162. data/spec/models/journal_spec.rb +5 -5
  163. data/spec/models/journals_spec.rb +5 -5
  164. data/spec/models/line_amount_types_spec.rb +5 -5
  165. data/spec/models/line_item_spec.rb +11 -5
  166. data/spec/models/line_item_tracking_spec.rb +5 -5
  167. data/spec/models/linked_transaction_spec.rb +5 -5
  168. data/spec/models/linked_transactions_spec.rb +5 -5
  169. data/spec/models/manual_journal_line_spec.rb +5 -5
  170. data/spec/models/manual_journal_spec.rb +5 -5
  171. data/spec/models/manual_journals_spec.rb +5 -5
  172. data/spec/models/online_invoice_spec.rb +5 -5
  173. data/spec/models/online_invoices_spec.rb +5 -5
  174. data/spec/models/organisation_spec.rb +7 -7
  175. data/spec/models/organisations_spec.rb +5 -5
  176. data/spec/models/overpayment_spec.rb +6 -6
  177. data/spec/models/overpayments_spec.rb +5 -5
  178. data/spec/models/payment_service_spec.rb +5 -5
  179. data/spec/models/payment_services_spec.rb +5 -5
  180. data/spec/models/payment_spec.rb +5 -5
  181. data/spec/models/payment_term_spec.rb +5 -5
  182. data/spec/models/payment_term_type_spec.rb +5 -5
  183. data/spec/models/payments_spec.rb +5 -5
  184. data/spec/models/phone_spec.rb +5 -5
  185. data/spec/models/prepayment_spec.rb +6 -6
  186. data/spec/models/prepayments_spec.rb +5 -5
  187. data/spec/models/purchase_order_spec.rb +5 -5
  188. data/spec/models/purchase_orders_spec.rb +5 -5
  189. data/spec/models/purchase_spec.rb +5 -5
  190. data/spec/models/receipt_spec.rb +7 -7
  191. data/spec/models/receipts_spec.rb +5 -5
  192. data/spec/models/repeating_invoice_spec.rb +5 -5
  193. data/spec/models/repeating_invoices_spec.rb +5 -5
  194. data/spec/models/report_attribute_spec.rb +5 -5
  195. data/spec/models/report_cell_spec.rb +5 -5
  196. data/spec/models/report_fields_spec.rb +5 -5
  197. data/spec/models/report_row_spec.rb +5 -5
  198. data/spec/models/report_rows_spec.rb +5 -5
  199. data/spec/models/report_spec.rb +5 -5
  200. data/spec/models/report_with_row_spec.rb +5 -5
  201. data/spec/models/report_with_rows_spec.rb +5 -5
  202. data/spec/models/reports_spec.rb +5 -5
  203. data/spec/models/request_empty_spec.rb +5 -5
  204. data/spec/models/row_type_spec.rb +5 -5
  205. data/spec/models/schedule_spec.rb +5 -5
  206. data/spec/models/tax_component_spec.rb +5 -5
  207. data/spec/models/tax_rate_spec.rb +6 -6
  208. data/spec/models/tax_rates_spec.rb +5 -5
  209. data/spec/models/tax_type_spec.rb +5 -5
  210. data/spec/models/ten_nintey_nine_contact_spec.rb +5 -5
  211. data/spec/models/time_zone_spec.rb +5 -5
  212. data/spec/models/tracking_categories_spec.rb +5 -5
  213. data/spec/models/tracking_category_spec.rb +6 -6
  214. data/spec/models/tracking_option_spec.rb +6 -6
  215. data/spec/models/tracking_options_spec.rb +5 -5
  216. data/spec/models/user_spec.rb +6 -6
  217. data/spec/models/users_spec.rb +5 -5
  218. data/spec/models/validation_error_spec.rb +5 -5
  219. data/spec/spec_helper.rb +3 -3
  220. data/xero-ruby.gemspec +2 -2
  221. metadata +5 -7
  222. data/lib/.DS_Store +0 -0
  223. data/pkg/xero-ruby-0.1.0.gem +0 -0
  224. 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 spec version: 2.0.0
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: 3.3.4
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 Petstore::Allocations
17
+ # Unit tests for XeroRuby::Allocations
18
18
  # Automatically generated by openapi-generator (https://openapi-generator.tech)
19
19
  # Please update as you see appropriate
20
20
  describe 'Allocations' do
21
21
  before do
22
22
  # run before each test
23
- @instance = Petstore::Allocations.new
23
+ @instance = XeroRuby::Allocations.new
24
24
  end
25
25
 
26
26
  after do
@@ -29,7 +29,7 @@ describe 'Allocations' do
29
29
 
30
30
  describe 'test an instance of Allocations' do
31
31
  it 'should create an instance of Allocations' do
32
- expect(@instance).to be_instance_of(Petstore::Allocations)
32
+ expect(@instance).to be_instance_of(XeroRuby::Allocations)
33
33
  end
34
34
  end
35
35
  describe 'test attribute "allocations"' 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 spec version: 2.0.0
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: 3.3.4
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 Petstore::Attachment
17
+ # Unit tests for XeroRuby::Attachment
18
18
  # Automatically generated by openapi-generator (https://openapi-generator.tech)
19
19
  # Please update as you see appropriate
20
20
  describe 'Attachment' do
21
21
  before do
22
22
  # run before each test
23
- @instance = Petstore::Attachment.new
23
+ @instance = XeroRuby::Attachment.new
24
24
  end
25
25
 
26
26
  after do
@@ -29,7 +29,7 @@ describe 'Attachment' do
29
29
 
30
30
  describe 'test an instance of Attachment' do
31
31
  it 'should create an instance of Attachment' do
32
- expect(@instance).to be_instance_of(Petstore::Attachment)
32
+ expect(@instance).to be_instance_of(XeroRuby::Attachment)
33
33
  end
34
34
  end
35
35
  describe 'test attribute "attachment_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 spec version: 2.0.0
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: 3.3.4
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 Petstore::Attachments
17
+ # Unit tests for XeroRuby::Attachments
18
18
  # Automatically generated by openapi-generator (https://openapi-generator.tech)
19
19
  # Please update as you see appropriate
20
20
  describe 'Attachments' do
21
21
  before do
22
22
  # run before each test
23
- @instance = Petstore::Attachments.new
23
+ @instance = XeroRuby::Attachments.new
24
24
  end
25
25
 
26
26
  after do
@@ -29,7 +29,7 @@ describe 'Attachments' do
29
29
 
30
30
  describe 'test an instance of Attachments' do
31
31
  it 'should create an instance of Attachments' do
32
- expect(@instance).to be_instance_of(Petstore::Attachments)
32
+ expect(@instance).to be_instance_of(XeroRuby::Attachments)
33
33
  end
34
34
  end
35
35
  describe 'test attribute "attachments"' 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 spec version: 2.0.0
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: 3.3.4
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 Petstore::Balances
17
+ # Unit tests for XeroRuby::Balances
18
18
  # Automatically generated by openapi-generator (https://openapi-generator.tech)
19
19
  # Please update as you see appropriate
20
20
  describe 'Balances' do
21
21
  before do
22
22
  # run before each test
23
- @instance = Petstore::Balances.new
23
+ @instance = XeroRuby::Balances.new
24
24
  end
25
25
 
26
26
  after do
@@ -29,7 +29,7 @@ describe 'Balances' do
29
29
 
30
30
  describe 'test an instance of Balances' do
31
31
  it 'should create an instance of Balances' do
32
- expect(@instance).to be_instance_of(Petstore::Balances)
32
+ expect(@instance).to be_instance_of(XeroRuby::Balances)
33
33
  end
34
34
  end
35
35
  describe 'test attribute "accounts_receivable"' 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 spec version: 2.0.0
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: 3.3.4
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 Petstore::BankTransaction
17
+ # Unit tests for XeroRuby::BankTransaction
18
18
  # Automatically generated by openapi-generator (https://openapi-generator.tech)
19
19
  # Please update as you see appropriate
20
20
  describe 'BankTransaction' do
21
21
  before do
22
22
  # run before each test
23
- @instance = Petstore::BankTransaction.new
23
+ @instance = XeroRuby::BankTransaction.new
24
24
  end
25
25
 
26
26
  after do
@@ -29,7 +29,7 @@ describe 'BankTransaction' do
29
29
 
30
30
  describe 'test an instance of BankTransaction' do
31
31
  it 'should create an instance of BankTransaction' do
32
- expect(@instance).to be_instance_of(Petstore::BankTransaction)
32
+ expect(@instance).to be_instance_of(XeroRuby::BankTransaction)
33
33
  end
34
34
  end
35
35
  describe 'test attribute "type"' do
@@ -48,7 +48,7 @@ describe 'BankTransaction' do
48
48
  end
49
49
  end
50
50
 
51
- describe 'test attribute "lineitems"' do
51
+ describe 'test attribute "line_items"' do
52
52
  it 'should work' do
53
53
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
54
54
  end
@@ -99,7 +99,7 @@ describe 'BankTransaction' do
99
99
  describe 'test attribute "status"' do
100
100
  it 'should work' do
101
101
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
102
- # validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["AUTHORISED", "DELETED"])
102
+ # validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["AUTHORISED", "DELETED", "VOIDED"])
103
103
  # validator.allowable_values.each do |value|
104
104
  # expect { @instance.status = value }.not_to raise_error
105
105
  # 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 spec version: 2.0.0
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: 3.3.4
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 Petstore::BankTransactions
17
+ # Unit tests for XeroRuby::BankTransactions
18
18
  # Automatically generated by openapi-generator (https://openapi-generator.tech)
19
19
  # Please update as you see appropriate
20
20
  describe 'BankTransactions' do
21
21
  before do
22
22
  # run before each test
23
- @instance = Petstore::BankTransactions.new
23
+ @instance = XeroRuby::BankTransactions.new
24
24
  end
25
25
 
26
26
  after do
@@ -29,7 +29,7 @@ describe 'BankTransactions' do
29
29
 
30
30
  describe 'test an instance of BankTransactions' do
31
31
  it 'should create an instance of BankTransactions' do
32
- expect(@instance).to be_instance_of(Petstore::BankTransactions)
32
+ expect(@instance).to be_instance_of(XeroRuby::BankTransactions)
33
33
  end
34
34
  end
35
35
  describe 'test attribute "bank_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 spec version: 2.0.0
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: 3.3.4
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 Petstore::BankTransfer
17
+ # Unit tests for XeroRuby::BankTransfer
18
18
  # Automatically generated by openapi-generator (https://openapi-generator.tech)
19
19
  # Please update as you see appropriate
20
20
  describe 'BankTransfer' do
21
21
  before do
22
22
  # run before each test
23
- @instance = Petstore::BankTransfer.new
23
+ @instance = XeroRuby::BankTransfer.new
24
24
  end
25
25
 
26
26
  after do
@@ -29,7 +29,7 @@ describe 'BankTransfer' do
29
29
 
30
30
  describe 'test an instance of BankTransfer' do
31
31
  it 'should create an instance of BankTransfer' do
32
- expect(@instance).to be_instance_of(Petstore::BankTransfer)
32
+ expect(@instance).to be_instance_of(XeroRuby::BankTransfer)
33
33
  end
34
34
  end
35
35
  describe 'test attribute "from_bank_account"' 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 spec version: 2.0.0
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: 3.3.4
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 Petstore::BankTransfers
17
+ # Unit tests for XeroRuby::BankTransfers
18
18
  # Automatically generated by openapi-generator (https://openapi-generator.tech)
19
19
  # Please update as you see appropriate
20
20
  describe 'BankTransfers' do
21
21
  before do
22
22
  # run before each test
23
- @instance = Petstore::BankTransfers.new
23
+ @instance = XeroRuby::BankTransfers.new
24
24
  end
25
25
 
26
26
  after do
@@ -29,7 +29,7 @@ describe 'BankTransfers' do
29
29
 
30
30
  describe 'test an instance of BankTransfers' do
31
31
  it 'should create an instance of BankTransfers' do
32
- expect(@instance).to be_instance_of(Petstore::BankTransfers)
32
+ expect(@instance).to be_instance_of(XeroRuby::BankTransfers)
33
33
  end
34
34
  end
35
35
  describe 'test attribute "bank_transfers"' 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 spec version: 2.0.0
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: 3.3.4
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 Petstore::BatchPaymentDetails
17
+ # Unit tests for XeroRuby::BatchPaymentDetails
18
18
  # Automatically generated by openapi-generator (https://openapi-generator.tech)
19
19
  # Please update as you see appropriate
20
20
  describe 'BatchPaymentDetails' do
21
21
  before do
22
22
  # run before each test
23
- @instance = Petstore::BatchPaymentDetails.new
23
+ @instance = XeroRuby::BatchPaymentDetails.new
24
24
  end
25
25
 
26
26
  after do
@@ -29,7 +29,7 @@ describe 'BatchPaymentDetails' do
29
29
 
30
30
  describe 'test an instance of BatchPaymentDetails' do
31
31
  it 'should create an instance of BatchPaymentDetails' do
32
- expect(@instance).to be_instance_of(Petstore::BatchPaymentDetails)
32
+ expect(@instance).to be_instance_of(XeroRuby::BatchPaymentDetails)
33
33
  end
34
34
  end
35
35
  describe 'test attribute "bank_account_number"' 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 spec version: 2.0.0
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: 3.3.4
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 Petstore::BatchPayment
17
+ # Unit tests for XeroRuby::BatchPayment
18
18
  # Automatically generated by openapi-generator (https://openapi-generator.tech)
19
19
  # Please update as you see appropriate
20
20
  describe 'BatchPayment' do
21
21
  before do
22
22
  # run before each test
23
- @instance = Petstore::BatchPayment.new
23
+ @instance = XeroRuby::BatchPayment.new
24
24
  end
25
25
 
26
26
  after do
@@ -29,7 +29,7 @@ describe 'BatchPayment' do
29
29
 
30
30
  describe 'test an instance of BatchPayment' do
31
31
  it 'should create an instance of BatchPayment' do
32
- expect(@instance).to be_instance_of(Petstore::BatchPayment)
32
+ expect(@instance).to be_instance_of(XeroRuby::BatchPayment)
33
33
  end
34
34
  end
35
35
  describe 'test attribute "account"' 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 spec version: 2.0.0
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: 3.3.4
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 Petstore::BatchPayments
17
+ # Unit tests for XeroRuby::BatchPayments
18
18
  # Automatically generated by openapi-generator (https://openapi-generator.tech)
19
19
  # Please update as you see appropriate
20
20
  describe 'BatchPayments' do
21
21
  before do
22
22
  # run before each test
23
- @instance = Petstore::BatchPayments.new
23
+ @instance = XeroRuby::BatchPayments.new
24
24
  end
25
25
 
26
26
  after do
@@ -29,7 +29,7 @@ describe 'BatchPayments' do
29
29
 
30
30
  describe 'test an instance of BatchPayments' do
31
31
  it 'should create an instance of BatchPayments' do
32
- expect(@instance).to be_instance_of(Petstore::BatchPayments)
32
+ expect(@instance).to be_instance_of(XeroRuby::BatchPayments)
33
33
  end
34
34
  end
35
35
  describe 'test attribute "batch_payments"' 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 spec version: 2.0.0
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: 3.3.4
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 Petstore::Bill
17
+ # Unit tests for XeroRuby::Bill
18
18
  # Automatically generated by openapi-generator (https://openapi-generator.tech)
19
19
  # Please update as you see appropriate
20
20
  describe 'Bill' do
21
21
  before do
22
22
  # run before each test
23
- @instance = Petstore::Bill.new
23
+ @instance = XeroRuby::Bill.new
24
24
  end
25
25
 
26
26
  after do
@@ -29,7 +29,7 @@ describe 'Bill' do
29
29
 
30
30
  describe 'test an instance of Bill' do
31
31
  it 'should create an instance of Bill' do
32
- expect(@instance).to be_instance_of(Petstore::Bill)
32
+ expect(@instance).to be_instance_of(XeroRuby::Bill)
33
33
  end
34
34
  end
35
35
  describe 'test attribute "day"' do