lago_ruby 0.46.0.pre.beta → 0.46.1.pre.beta

Sign up to get free protection for your applications and to get access to all the features.
Files changed (202) hide show
  1. checksums.yaml +4 -4
  2. data/Gemfile.lock +1 -1
  3. data/README.md +10 -14
  4. data/docs/AddOnsApi.md +0 -70
  5. data/docs/EventInputEvent.md +2 -2
  6. data/docs/EventInputEventProperties.md +18 -0
  7. data/docs/EventObject.md +1 -1
  8. data/docs/EventObjectProperties.md +18 -0
  9. data/lago_ruby.gemspec +1 -1
  10. data/lib/lago_ruby/api/add_ons_api.rb +1 -69
  11. data/lib/lago_ruby/api/billable_metrics_api.rb +1 -1
  12. data/lib/lago_ruby/api/coupons_api.rb +1 -1
  13. data/lib/lago_ruby/api/credit_notes_api.rb +1 -1
  14. data/lib/lago_ruby/api/customers_api.rb +1 -1
  15. data/lib/lago_ruby/api/events_api.rb +1 -1
  16. data/lib/lago_ruby/api/fees_api.rb +1 -1
  17. data/lib/lago_ruby/api/invoices_api.rb +1 -1
  18. data/lib/lago_ruby/api/organizations_api.rb +1 -1
  19. data/lib/lago_ruby/api/plans_api.rb +1 -1
  20. data/lib/lago_ruby/api/subscriptions_api.rb +1 -1
  21. data/lib/lago_ruby/api/taxes_api.rb +1 -1
  22. data/lib/lago_ruby/api/wallets_api.rb +1 -1
  23. data/lib/lago_ruby/api/webhook_endpoints_api.rb +1 -1
  24. data/lib/lago_ruby/api/webhooks_api.rb +1 -1
  25. data/lib/lago_ruby/api_client.rb +1 -1
  26. data/lib/lago_ruby/api_error.rb +1 -1
  27. data/lib/lago_ruby/configuration.rb +1 -1
  28. data/lib/lago_ruby/models/add_on.rb +1 -1
  29. data/lib/lago_ruby/models/add_on_base_input.rb +1 -1
  30. data/lib/lago_ruby/models/add_on_create_input.rb +1 -1
  31. data/lib/lago_ruby/models/add_on_create_input_add_on.rb +1 -1
  32. data/lib/lago_ruby/models/add_on_object.rb +1 -1
  33. data/lib/lago_ruby/models/add_on_update_input.rb +1 -1
  34. data/lib/lago_ruby/models/add_ons_paginated.rb +1 -1
  35. data/lib/lago_ruby/models/api_error_bad_request.rb +1 -1
  36. data/lib/lago_ruby/models/api_error_forbidden.rb +1 -1
  37. data/lib/lago_ruby/models/api_error_not_allowed.rb +1 -1
  38. data/lib/lago_ruby/models/api_error_not_found.rb +1 -1
  39. data/lib/lago_ruby/models/api_error_unauthorized.rb +1 -1
  40. data/lib/lago_ruby/models/api_error_unprocessable_entity.rb +1 -1
  41. data/lib/lago_ruby/models/applied_add_on.rb +1 -1
  42. data/lib/lago_ruby/models/applied_add_on_input.rb +1 -1
  43. data/lib/lago_ruby/models/applied_add_on_input_applied_add_on.rb +1 -1
  44. data/lib/lago_ruby/models/applied_add_on_object.rb +1 -1
  45. data/lib/lago_ruby/models/applied_coupon.rb +1 -1
  46. data/lib/lago_ruby/models/applied_coupon_input.rb +1 -1
  47. data/lib/lago_ruby/models/applied_coupon_input_applied_coupon.rb +1 -1
  48. data/lib/lago_ruby/models/applied_coupon_object.rb +1 -1
  49. data/lib/lago_ruby/models/applied_coupon_object_extended.rb +1 -1
  50. data/lib/lago_ruby/models/applied_coupons_paginated.rb +1 -1
  51. data/lib/lago_ruby/models/base_applied_tax.rb +1 -1
  52. data/lib/lago_ruby/models/billable_metric.rb +1 -1
  53. data/lib/lago_ruby/models/billable_metric_base_input.rb +1 -1
  54. data/lib/lago_ruby/models/billable_metric_create_input.rb +1 -1
  55. data/lib/lago_ruby/models/billable_metric_create_input_billable_metric.rb +1 -1
  56. data/lib/lago_ruby/models/billable_metric_group.rb +1 -1
  57. data/lib/lago_ruby/models/billable_metric_group_values_inner.rb +1 -1
  58. data/lib/lago_ruby/models/billable_metric_group_values_inner_one_of.rb +1 -1
  59. data/lib/lago_ruby/models/billable_metric_object.rb +1 -1
  60. data/lib/lago_ruby/models/billable_metric_update_input.rb +1 -1
  61. data/lib/lago_ruby/models/billable_metrics_paginated.rb +1 -1
  62. data/lib/lago_ruby/models/charge_object.rb +1 -1
  63. data/lib/lago_ruby/models/charge_object_properties.rb +1 -1
  64. data/lib/lago_ruby/models/charge_properties.rb +1 -1
  65. data/lib/lago_ruby/models/charge_properties_graduated_percentage_ranges_inner.rb +1 -1
  66. data/lib/lago_ruby/models/charge_properties_graduated_ranges_inner.rb +1 -1
  67. data/lib/lago_ruby/models/charge_properties_volume_ranges_inner.rb +1 -1
  68. data/lib/lago_ruby/models/country.rb +1 -1
  69. data/lib/lago_ruby/models/coupon.rb +1 -1
  70. data/lib/lago_ruby/models/coupon_base_input.rb +1 -1
  71. data/lib/lago_ruby/models/coupon_base_input_applies_to.rb +1 -1
  72. data/lib/lago_ruby/models/coupon_create_input.rb +1 -1
  73. data/lib/lago_ruby/models/coupon_create_input_coupon.rb +1 -1
  74. data/lib/lago_ruby/models/coupon_object.rb +1 -1
  75. data/lib/lago_ruby/models/coupon_update_input.rb +1 -1
  76. data/lib/lago_ruby/models/coupons_paginated.rb +1 -1
  77. data/lib/lago_ruby/models/create_webhook_endpoint200_response.rb +1 -1
  78. data/lib/lago_ruby/models/create_webhook_endpoint200_response_webhook_endpoint.rb +1 -1
  79. data/lib/lago_ruby/models/create_webhook_endpoint_request.rb +1 -1
  80. data/lib/lago_ruby/models/create_webhook_endpoint_request_webhook_endpoint.rb +1 -1
  81. data/lib/lago_ruby/models/credit_note.rb +1 -1
  82. data/lib/lago_ruby/models/credit_note_applied_tax_object.rb +1 -1
  83. data/lib/lago_ruby/models/credit_note_create_input.rb +1 -1
  84. data/lib/lago_ruby/models/credit_note_create_input_credit_note.rb +1 -1
  85. data/lib/lago_ruby/models/credit_note_create_input_credit_note_items_inner.rb +1 -1
  86. data/lib/lago_ruby/models/credit_note_item_object.rb +1 -1
  87. data/lib/lago_ruby/models/credit_note_item_object_fee.rb +1 -1
  88. data/lib/lago_ruby/models/credit_note_object.rb +1 -1
  89. data/lib/lago_ruby/models/credit_note_update_input.rb +1 -1
  90. data/lib/lago_ruby/models/credit_note_update_input_credit_note.rb +1 -1
  91. data/lib/lago_ruby/models/credit_notes.rb +1 -1
  92. data/lib/lago_ruby/models/credit_object.rb +1 -1
  93. data/lib/lago_ruby/models/credit_object_invoice.rb +1 -1
  94. data/lib/lago_ruby/models/credit_object_item.rb +1 -1
  95. data/lib/lago_ruby/models/currency.rb +1 -1
  96. data/lib/lago_ruby/models/customer.rb +1 -1
  97. data/lib/lago_ruby/models/customer_billing_configuration.rb +1 -1
  98. data/lib/lago_ruby/models/customer_charge_usage_object.rb +1 -1
  99. data/lib/lago_ruby/models/customer_charge_usage_object_billable_metric.rb +1 -1
  100. data/lib/lago_ruby/models/customer_charge_usage_object_charge.rb +1 -1
  101. data/lib/lago_ruby/models/customer_charge_usage_object_groups_inner.rb +1 -1
  102. data/lib/lago_ruby/models/customer_create_input.rb +1 -1
  103. data/lib/lago_ruby/models/customer_create_input_customer.rb +1 -1
  104. data/lib/lago_ruby/models/customer_create_input_customer_metadata_inner.rb +1 -1
  105. data/lib/lago_ruby/models/customer_metadata.rb +1 -1
  106. data/lib/lago_ruby/models/customer_object.rb +1 -1
  107. data/lib/lago_ruby/models/customer_object_extended.rb +1 -1
  108. data/lib/lago_ruby/models/customer_usage.rb +1 -1
  109. data/lib/lago_ruby/models/customer_usage_object.rb +1 -1
  110. data/lib/lago_ruby/models/customers_paginated.rb +1 -1
  111. data/lib/lago_ruby/models/event.rb +1 -1
  112. data/lib/lago_ruby/models/event_batch_input.rb +1 -1
  113. data/lib/lago_ruby/models/event_batch_input_event.rb +1 -1
  114. data/lib/lago_ruby/models/event_batch_input_event_properties.rb +1 -1
  115. data/lib/lago_ruby/models/event_estimate_fees_input.rb +1 -1
  116. data/lib/lago_ruby/models/event_estimate_fees_input_event.rb +1 -1
  117. data/lib/lago_ruby/models/event_input.rb +1 -1
  118. data/lib/lago_ruby/models/event_input_event.rb +6 -3
  119. data/lib/lago_ruby/models/event_object.rb +2 -2
  120. data/lib/lago_ruby/models/event_object_properties.rb +250 -0
  121. data/lib/lago_ruby/models/fee.rb +1 -1
  122. data/lib/lago_ruby/models/fee_applied_tax_object.rb +1 -1
  123. data/lib/lago_ruby/models/fee_object.rb +1 -1
  124. data/lib/lago_ruby/models/fee_object_item.rb +1 -1
  125. data/lib/lago_ruby/models/fee_update_input.rb +1 -1
  126. data/lib/lago_ruby/models/fee_update_input_fee.rb +1 -1
  127. data/lib/lago_ruby/models/fees.rb +1 -1
  128. data/lib/lago_ruby/models/fees_paginated.rb +1 -1
  129. data/lib/lago_ruby/models/find_all_webhook_endpoints200_response.rb +1 -1
  130. data/lib/lago_ruby/models/get_customer_portal_url200_response.rb +1 -1
  131. data/lib/lago_ruby/models/get_customer_portal_url200_response_customer.rb +1 -1
  132. data/lib/lago_ruby/models/group_object.rb +1 -1
  133. data/lib/lago_ruby/models/group_properties_object.rb +1 -1
  134. data/lib/lago_ruby/models/group_properties_object_values.rb +1 -1
  135. data/lib/lago_ruby/models/groups_paginated.rb +1 -1
  136. data/lib/lago_ruby/models/invoice.rb +1 -1
  137. data/lib/lago_ruby/models/invoice_applied_tax_object.rb +1 -1
  138. data/lib/lago_ruby/models/invoice_metadata_object.rb +1 -1
  139. data/lib/lago_ruby/models/invoice_object.rb +1 -1
  140. data/lib/lago_ruby/models/invoice_object_customer.rb +1 -1
  141. data/lib/lago_ruby/models/invoice_object_extended.rb +1 -1
  142. data/lib/lago_ruby/models/invoice_one_off_create_input.rb +1 -1
  143. data/lib/lago_ruby/models/invoice_one_off_create_input_invoice.rb +1 -1
  144. data/lib/lago_ruby/models/invoice_one_off_create_input_invoice_fees_inner.rb +1 -1
  145. data/lib/lago_ruby/models/invoice_update_input.rb +1 -1
  146. data/lib/lago_ruby/models/invoice_update_input_invoice.rb +1 -1
  147. data/lib/lago_ruby/models/invoice_update_input_invoice_metadata_inner.rb +1 -1
  148. data/lib/lago_ruby/models/invoices_paginated.rb +1 -1
  149. data/lib/lago_ruby/models/organization.rb +1 -1
  150. data/lib/lago_ruby/models/organization_billing_configuration.rb +1 -1
  151. data/lib/lago_ruby/models/organization_object.rb +1 -1
  152. data/lib/lago_ruby/models/organization_update_input.rb +1 -1
  153. data/lib/lago_ruby/models/organization_update_input_organization.rb +1 -1
  154. data/lib/lago_ruby/models/pagination_meta.rb +1 -1
  155. data/lib/lago_ruby/models/plan.rb +1 -1
  156. data/lib/lago_ruby/models/plan_create_input.rb +1 -1
  157. data/lib/lago_ruby/models/plan_create_input_plan.rb +1 -1
  158. data/lib/lago_ruby/models/plan_create_input_plan_charges_inner.rb +1 -1
  159. data/lib/lago_ruby/models/plan_create_input_plan_charges_inner_group_properties_inner.rb +1 -1
  160. data/lib/lago_ruby/models/plan_object.rb +1 -1
  161. data/lib/lago_ruby/models/plan_update_input.rb +1 -1
  162. data/lib/lago_ruby/models/plan_update_input_plan.rb +1 -1
  163. data/lib/lago_ruby/models/plan_update_input_plan_charges_inner.rb +1 -1
  164. data/lib/lago_ruby/models/plans_paginated.rb +1 -1
  165. data/lib/lago_ruby/models/subscription.rb +1 -1
  166. data/lib/lago_ruby/models/subscription_create_input.rb +1 -1
  167. data/lib/lago_ruby/models/subscription_create_input_subscription.rb +1 -1
  168. data/lib/lago_ruby/models/subscription_object.rb +1 -1
  169. data/lib/lago_ruby/models/subscription_update_input.rb +1 -1
  170. data/lib/lago_ruby/models/subscription_update_input_subscription.rb +1 -1
  171. data/lib/lago_ruby/models/subscriptions_paginated.rb +1 -1
  172. data/lib/lago_ruby/models/tax.rb +1 -1
  173. data/lib/lago_ruby/models/tax_base_input.rb +1 -1
  174. data/lib/lago_ruby/models/tax_create_input.rb +1 -1
  175. data/lib/lago_ruby/models/tax_create_input_tax.rb +1 -1
  176. data/lib/lago_ruby/models/tax_object.rb +1 -1
  177. data/lib/lago_ruby/models/tax_update_input.rb +1 -1
  178. data/lib/lago_ruby/models/taxes_paginated.rb +1 -1
  179. data/lib/lago_ruby/models/timezone.rb +1 -1
  180. data/lib/lago_ruby/models/wallet.rb +1 -1
  181. data/lib/lago_ruby/models/wallet_create_input.rb +1 -1
  182. data/lib/lago_ruby/models/wallet_create_input_wallet.rb +1 -1
  183. data/lib/lago_ruby/models/wallet_object.rb +1 -1
  184. data/lib/lago_ruby/models/wallet_transaction_create_input.rb +1 -1
  185. data/lib/lago_ruby/models/wallet_transaction_create_input_wallet_transaction.rb +1 -1
  186. data/lib/lago_ruby/models/wallet_transaction_object.rb +1 -1
  187. data/lib/lago_ruby/models/wallet_transactions.rb +1 -1
  188. data/lib/lago_ruby/models/wallet_transactions_paginated.rb +1 -1
  189. data/lib/lago_ruby/models/wallet_update_input.rb +1 -1
  190. data/lib/lago_ruby/models/wallet_update_input_wallet.rb +1 -1
  191. data/lib/lago_ruby/models/wallets_paginated.rb +1 -1
  192. data/lib/lago_ruby/version.rb +2 -2
  193. data/lib/lago_ruby.rb +2 -5
  194. data/spec/api_client_spec.rb +1 -1
  195. data/spec/configuration_spec.rb +1 -1
  196. data/spec/models/event_object_properties_spec.rb +38 -0
  197. data/spec/spec_helper.rb +1 -1
  198. metadata +7 -10
  199. data/spec/models/applied_add_on_input_applied_add_on_spec.rb +0 -52
  200. data/spec/models/applied_add_on_input_spec.rb +0 -34
  201. data/spec/models/applied_add_on_object_spec.rb +0 -76
  202. data/spec/models/applied_add_on_spec.rb +0 -34
@@ -0,0 +1,38 @@
1
+ =begin
2
+ #Lago API documentation
3
+
4
+ #Lago API allows your application to push customer information and metrics (events) from your application to the billing application.
5
+
6
+ The version of the OpenAPI document: 0.46.1-beta
7
+ Contact: tech@getlago.com
8
+ Generated by: https://openapi-generator.tech
9
+ OpenAPI Generator version: 7.0.1-SNAPSHOT
10
+
11
+ =end
12
+
13
+ require 'spec_helper'
14
+ require 'json'
15
+ require 'date'
16
+
17
+ # Unit tests for LagoAPI::EventObjectProperties
18
+ # Automatically generated by openapi-generator (https://openapi-generator.tech)
19
+ # Please update as you see appropriate
20
+ describe LagoAPI::EventObjectProperties do
21
+ let(:instance) { LagoAPI::EventObjectProperties.new }
22
+
23
+ describe 'test an instance of EventObjectProperties' do
24
+ it 'should create an instance of EventObjectProperties' do
25
+ expect(instance).to be_instance_of(LagoAPI::EventObjectProperties)
26
+ end
27
+ end
28
+ describe 'test attribute "operation_type"' do
29
+ it 'should work' do
30
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
31
+ # validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["add", "remove"])
32
+ # validator.allowable_values.each do |value|
33
+ # expect { instance.operation_type = value }.not_to raise_error
34
+ # end
35
+ end
36
+ end
37
+
38
+ end
data/spec/spec_helper.rb CHANGED
@@ -3,7 +3,7 @@
3
3
 
4
4
  #Lago API allows your application to push customer information and metrics (events) from your application to the billing application.
5
5
 
6
- The version of the OpenAPI document: 0.46.0-beta
6
+ The version of the OpenAPI document: 0.46.1-beta
7
7
  Contact: tech@getlago.com
8
8
  Generated by: https://openapi-generator.tech
9
9
  OpenAPI Generator version: 7.0.1-SNAPSHOT
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: lago_ruby
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.46.0.pre.beta
4
+ version: 0.46.1.pre.beta
5
5
  platform: ruby
6
6
  authors:
7
7
  - Lago
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-08-31 00:00:00.000000000 Z
11
+ date: 2023-09-01 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: typhoeus
@@ -160,7 +160,9 @@ files:
160
160
  - docs/EventEstimateFeesInputEvent.md
161
161
  - docs/EventInput.md
162
162
  - docs/EventInputEvent.md
163
+ - docs/EventInputEventProperties.md
163
164
  - docs/EventObject.md
165
+ - docs/EventObjectProperties.md
164
166
  - docs/EventsApi.md
165
167
  - docs/Fee.md
166
168
  - docs/FeeAppliedTaxObject.md
@@ -355,6 +357,7 @@ files:
355
357
  - lib/lago_ruby/models/event_input.rb
356
358
  - lib/lago_ruby/models/event_input_event.rb
357
359
  - lib/lago_ruby/models/event_object.rb
360
+ - lib/lago_ruby/models/event_object_properties.rb
358
361
  - lib/lago_ruby/models/fee.rb
359
362
  - lib/lago_ruby/models/fee_applied_tax_object.rb
360
363
  - lib/lago_ruby/models/fee_object.rb
@@ -457,10 +460,6 @@ files:
457
460
  - spec/models/api_error_not_found_spec.rb
458
461
  - spec/models/api_error_unauthorized_spec.rb
459
462
  - spec/models/api_error_unprocessable_entity_spec.rb
460
- - spec/models/applied_add_on_input_applied_add_on_spec.rb
461
- - spec/models/applied_add_on_input_spec.rb
462
- - spec/models/applied_add_on_object_spec.rb
463
- - spec/models/applied_add_on_spec.rb
464
463
  - spec/models/applied_coupon_input_applied_coupon_spec.rb
465
464
  - spec/models/applied_coupon_input_spec.rb
466
465
  - spec/models/applied_coupon_object_extended_spec.rb
@@ -534,6 +533,7 @@ files:
534
533
  - spec/models/event_estimate_fees_input_spec.rb
535
534
  - spec/models/event_input_event_spec.rb
536
535
  - spec/models/event_input_spec.rb
536
+ - spec/models/event_object_properties_spec.rb
537
537
  - spec/models/event_object_spec.rb
538
538
  - spec/models/event_spec.rb
539
539
  - spec/models/fee_applied_tax_object_spec.rb
@@ -652,6 +652,7 @@ test_files:
652
652
  - spec/api/invoices_api_spec.rb
653
653
  - spec/api_client_spec.rb
654
654
  - spec/configuration_spec.rb
655
+ - spec/models/event_object_properties_spec.rb
655
656
  - spec/models/coupons_paginated_spec.rb
656
657
  - spec/models/event_object_spec.rb
657
658
  - spec/models/charge_properties_graduated_ranges_inner_spec.rb
@@ -687,7 +688,6 @@ test_files:
687
688
  - spec/models/groups_paginated_spec.rb
688
689
  - spec/models/credit_note_item_object_fee_spec.rb
689
690
  - spec/models/find_all_webhook_endpoints200_response_spec.rb
690
- - spec/models/applied_add_on_input_applied_add_on_spec.rb
691
691
  - spec/models/customer_spec.rb
692
692
  - spec/models/subscription_update_input_spec.rb
693
693
  - spec/models/invoice_one_off_create_input_invoice_spec.rb
@@ -749,14 +749,12 @@ test_files:
749
749
  - spec/models/customer_usage_object_spec.rb
750
750
  - spec/models/charge_object_spec.rb
751
751
  - spec/models/coupon_create_input_coupon_spec.rb
752
- - spec/models/applied_add_on_input_spec.rb
753
752
  - spec/models/invoice_update_input_spec.rb
754
753
  - spec/models/fees_paginated_spec.rb
755
754
  - spec/models/customer_charge_usage_object_charge_spec.rb
756
755
  - spec/models/add_on_object_spec.rb
757
756
  - spec/models/api_error_forbidden_spec.rb
758
757
  - spec/models/credit_note_applied_tax_object_spec.rb
759
- - spec/models/applied_add_on_object_spec.rb
760
758
  - spec/models/api_error_unprocessable_entity_spec.rb
761
759
  - spec/models/event_estimate_fees_input_event_spec.rb
762
760
  - spec/models/credit_note_update_input_credit_note_spec.rb
@@ -787,7 +785,6 @@ test_files:
787
785
  - spec/models/currency_spec.rb
788
786
  - spec/models/create_webhook_endpoint200_response_spec.rb
789
787
  - spec/models/plan_create_input_plan_charges_inner_group_properties_inner_spec.rb
790
- - spec/models/applied_add_on_spec.rb
791
788
  - spec/models/invoice_update_input_invoice_spec.rb
792
789
  - spec/models/coupon_object_spec.rb
793
790
  - spec/models/billable_metric_group_values_inner_one_of_spec.rb
@@ -1,52 +0,0 @@
1
- =begin
2
- #Lago API documentation
3
-
4
- #Lago API allows your application to push customer information and metrics (events) from your application to the billing application.
5
-
6
- The version of the OpenAPI document: 0.45.0-beta
7
- Contact: tech@getlago.com
8
- Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 7.0.1-SNAPSHOT
10
-
11
- =end
12
-
13
- require 'spec_helper'
14
- require 'json'
15
- require 'date'
16
-
17
- # Unit tests for LagoAPI::AppliedAddOnInputAppliedAddOn
18
- # Automatically generated by openapi-generator (https://openapi-generator.tech)
19
- # Please update as you see appropriate
20
- describe LagoAPI::AppliedAddOnInputAppliedAddOn do
21
- let(:instance) { LagoAPI::AppliedAddOnInputAppliedAddOn.new }
22
-
23
- describe 'test an instance of AppliedAddOnInputAppliedAddOn' do
24
- it 'should create an instance of AppliedAddOnInputAppliedAddOn' do
25
- expect(instance).to be_instance_of(LagoAPI::AppliedAddOnInputAppliedAddOn)
26
- end
27
- end
28
- describe 'test attribute "external_customer_id"' do
29
- it 'should work' do
30
- # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
31
- end
32
- end
33
-
34
- describe 'test attribute "add_on_code"' do
35
- it 'should work' do
36
- # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
37
- end
38
- end
39
-
40
- describe 'test attribute "amount_cents"' do
41
- it 'should work' do
42
- # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
43
- end
44
- end
45
-
46
- describe 'test attribute "amount_currency"' do
47
- it 'should work' do
48
- # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
49
- end
50
- end
51
-
52
- end
@@ -1,34 +0,0 @@
1
- =begin
2
- #Lago API documentation
3
-
4
- #Lago API allows your application to push customer information and metrics (events) from your application to the billing application.
5
-
6
- The version of the OpenAPI document: 0.45.0-beta
7
- Contact: tech@getlago.com
8
- Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 7.0.1-SNAPSHOT
10
-
11
- =end
12
-
13
- require 'spec_helper'
14
- require 'json'
15
- require 'date'
16
-
17
- # Unit tests for LagoAPI::AppliedAddOnInput
18
- # Automatically generated by openapi-generator (https://openapi-generator.tech)
19
- # Please update as you see appropriate
20
- describe LagoAPI::AppliedAddOnInput do
21
- let(:instance) { LagoAPI::AppliedAddOnInput.new }
22
-
23
- describe 'test an instance of AppliedAddOnInput' do
24
- it 'should create an instance of AppliedAddOnInput' do
25
- expect(instance).to be_instance_of(LagoAPI::AppliedAddOnInput)
26
- end
27
- end
28
- describe 'test attribute "applied_add_on"' do
29
- it 'should work' do
30
- # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
31
- end
32
- end
33
-
34
- end
@@ -1,76 +0,0 @@
1
- =begin
2
- #Lago API documentation
3
-
4
- #Lago API allows your application to push customer information and metrics (events) from your application to the billing application.
5
-
6
- The version of the OpenAPI document: 0.45.0-beta
7
- Contact: tech@getlago.com
8
- Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 7.0.1-SNAPSHOT
10
-
11
- =end
12
-
13
- require 'spec_helper'
14
- require 'json'
15
- require 'date'
16
-
17
- # Unit tests for LagoAPI::AppliedAddOnObject
18
- # Automatically generated by openapi-generator (https://openapi-generator.tech)
19
- # Please update as you see appropriate
20
- describe LagoAPI::AppliedAddOnObject do
21
- let(:instance) { LagoAPI::AppliedAddOnObject.new }
22
-
23
- describe 'test an instance of AppliedAddOnObject' do
24
- it 'should create an instance of AppliedAddOnObject' do
25
- expect(instance).to be_instance_of(LagoAPI::AppliedAddOnObject)
26
- end
27
- end
28
- describe 'test attribute "lago_id"' do
29
- it 'should work' do
30
- # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
31
- end
32
- end
33
-
34
- describe 'test attribute "lago_add_on_id"' do
35
- it 'should work' do
36
- # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
37
- end
38
- end
39
-
40
- describe 'test attribute "add_on_code"' do
41
- it 'should work' do
42
- # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
43
- end
44
- end
45
-
46
- describe 'test attribute "lago_customer_id"' do
47
- it 'should work' do
48
- # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
49
- end
50
- end
51
-
52
- describe 'test attribute "external_customer_id"' do
53
- it 'should work' do
54
- # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
55
- end
56
- end
57
-
58
- describe 'test attribute "amount_cents"' do
59
- it 'should work' do
60
- # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
61
- end
62
- end
63
-
64
- describe 'test attribute "amount_currency"' do
65
- it 'should work' do
66
- # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
67
- end
68
- end
69
-
70
- describe 'test attribute "created_at"' do
71
- it 'should work' do
72
- # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
73
- end
74
- end
75
-
76
- end
@@ -1,34 +0,0 @@
1
- =begin
2
- #Lago API documentation
3
-
4
- #Lago API allows your application to push customer information and metrics (events) from your application to the billing application.
5
-
6
- The version of the OpenAPI document: 0.45.0-beta
7
- Contact: tech@getlago.com
8
- Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 7.0.1-SNAPSHOT
10
-
11
- =end
12
-
13
- require 'spec_helper'
14
- require 'json'
15
- require 'date'
16
-
17
- # Unit tests for LagoAPI::AppliedAddOn
18
- # Automatically generated by openapi-generator (https://openapi-generator.tech)
19
- # Please update as you see appropriate
20
- describe LagoAPI::AppliedAddOn do
21
- let(:instance) { LagoAPI::AppliedAddOn.new }
22
-
23
- describe 'test an instance of AppliedAddOn' do
24
- it 'should create an instance of AppliedAddOn' do
25
- expect(instance).to be_instance_of(LagoAPI::AppliedAddOn)
26
- end
27
- end
28
- describe 'test attribute "applied_add_on"' do
29
- it 'should work' do
30
- # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
31
- end
32
- end
33
-
34
- end