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.
- checksums.yaml +4 -4
- data/Gemfile.lock +1 -1
- data/README.md +10 -14
- data/docs/AddOnsApi.md +0 -70
- data/docs/EventInputEvent.md +2 -2
- data/docs/EventInputEventProperties.md +18 -0
- data/docs/EventObject.md +1 -1
- data/docs/EventObjectProperties.md +18 -0
- data/lago_ruby.gemspec +1 -1
- data/lib/lago_ruby/api/add_ons_api.rb +1 -69
- data/lib/lago_ruby/api/billable_metrics_api.rb +1 -1
- data/lib/lago_ruby/api/coupons_api.rb +1 -1
- data/lib/lago_ruby/api/credit_notes_api.rb +1 -1
- data/lib/lago_ruby/api/customers_api.rb +1 -1
- data/lib/lago_ruby/api/events_api.rb +1 -1
- data/lib/lago_ruby/api/fees_api.rb +1 -1
- data/lib/lago_ruby/api/invoices_api.rb +1 -1
- data/lib/lago_ruby/api/organizations_api.rb +1 -1
- data/lib/lago_ruby/api/plans_api.rb +1 -1
- data/lib/lago_ruby/api/subscriptions_api.rb +1 -1
- data/lib/lago_ruby/api/taxes_api.rb +1 -1
- data/lib/lago_ruby/api/wallets_api.rb +1 -1
- data/lib/lago_ruby/api/webhook_endpoints_api.rb +1 -1
- data/lib/lago_ruby/api/webhooks_api.rb +1 -1
- data/lib/lago_ruby/api_client.rb +1 -1
- data/lib/lago_ruby/api_error.rb +1 -1
- data/lib/lago_ruby/configuration.rb +1 -1
- data/lib/lago_ruby/models/add_on.rb +1 -1
- data/lib/lago_ruby/models/add_on_base_input.rb +1 -1
- data/lib/lago_ruby/models/add_on_create_input.rb +1 -1
- data/lib/lago_ruby/models/add_on_create_input_add_on.rb +1 -1
- data/lib/lago_ruby/models/add_on_object.rb +1 -1
- data/lib/lago_ruby/models/add_on_update_input.rb +1 -1
- data/lib/lago_ruby/models/add_ons_paginated.rb +1 -1
- data/lib/lago_ruby/models/api_error_bad_request.rb +1 -1
- data/lib/lago_ruby/models/api_error_forbidden.rb +1 -1
- data/lib/lago_ruby/models/api_error_not_allowed.rb +1 -1
- data/lib/lago_ruby/models/api_error_not_found.rb +1 -1
- data/lib/lago_ruby/models/api_error_unauthorized.rb +1 -1
- data/lib/lago_ruby/models/api_error_unprocessable_entity.rb +1 -1
- data/lib/lago_ruby/models/applied_add_on.rb +1 -1
- data/lib/lago_ruby/models/applied_add_on_input.rb +1 -1
- data/lib/lago_ruby/models/applied_add_on_input_applied_add_on.rb +1 -1
- data/lib/lago_ruby/models/applied_add_on_object.rb +1 -1
- data/lib/lago_ruby/models/applied_coupon.rb +1 -1
- data/lib/lago_ruby/models/applied_coupon_input.rb +1 -1
- data/lib/lago_ruby/models/applied_coupon_input_applied_coupon.rb +1 -1
- data/lib/lago_ruby/models/applied_coupon_object.rb +1 -1
- data/lib/lago_ruby/models/applied_coupon_object_extended.rb +1 -1
- data/lib/lago_ruby/models/applied_coupons_paginated.rb +1 -1
- data/lib/lago_ruby/models/base_applied_tax.rb +1 -1
- data/lib/lago_ruby/models/billable_metric.rb +1 -1
- data/lib/lago_ruby/models/billable_metric_base_input.rb +1 -1
- data/lib/lago_ruby/models/billable_metric_create_input.rb +1 -1
- data/lib/lago_ruby/models/billable_metric_create_input_billable_metric.rb +1 -1
- data/lib/lago_ruby/models/billable_metric_group.rb +1 -1
- data/lib/lago_ruby/models/billable_metric_group_values_inner.rb +1 -1
- data/lib/lago_ruby/models/billable_metric_group_values_inner_one_of.rb +1 -1
- data/lib/lago_ruby/models/billable_metric_object.rb +1 -1
- data/lib/lago_ruby/models/billable_metric_update_input.rb +1 -1
- data/lib/lago_ruby/models/billable_metrics_paginated.rb +1 -1
- data/lib/lago_ruby/models/charge_object.rb +1 -1
- data/lib/lago_ruby/models/charge_object_properties.rb +1 -1
- data/lib/lago_ruby/models/charge_properties.rb +1 -1
- data/lib/lago_ruby/models/charge_properties_graduated_percentage_ranges_inner.rb +1 -1
- data/lib/lago_ruby/models/charge_properties_graduated_ranges_inner.rb +1 -1
- data/lib/lago_ruby/models/charge_properties_volume_ranges_inner.rb +1 -1
- data/lib/lago_ruby/models/country.rb +1 -1
- data/lib/lago_ruby/models/coupon.rb +1 -1
- data/lib/lago_ruby/models/coupon_base_input.rb +1 -1
- data/lib/lago_ruby/models/coupon_base_input_applies_to.rb +1 -1
- data/lib/lago_ruby/models/coupon_create_input.rb +1 -1
- data/lib/lago_ruby/models/coupon_create_input_coupon.rb +1 -1
- data/lib/lago_ruby/models/coupon_object.rb +1 -1
- data/lib/lago_ruby/models/coupon_update_input.rb +1 -1
- data/lib/lago_ruby/models/coupons_paginated.rb +1 -1
- data/lib/lago_ruby/models/create_webhook_endpoint200_response.rb +1 -1
- data/lib/lago_ruby/models/create_webhook_endpoint200_response_webhook_endpoint.rb +1 -1
- data/lib/lago_ruby/models/create_webhook_endpoint_request.rb +1 -1
- data/lib/lago_ruby/models/create_webhook_endpoint_request_webhook_endpoint.rb +1 -1
- data/lib/lago_ruby/models/credit_note.rb +1 -1
- data/lib/lago_ruby/models/credit_note_applied_tax_object.rb +1 -1
- data/lib/lago_ruby/models/credit_note_create_input.rb +1 -1
- data/lib/lago_ruby/models/credit_note_create_input_credit_note.rb +1 -1
- data/lib/lago_ruby/models/credit_note_create_input_credit_note_items_inner.rb +1 -1
- data/lib/lago_ruby/models/credit_note_item_object.rb +1 -1
- data/lib/lago_ruby/models/credit_note_item_object_fee.rb +1 -1
- data/lib/lago_ruby/models/credit_note_object.rb +1 -1
- data/lib/lago_ruby/models/credit_note_update_input.rb +1 -1
- data/lib/lago_ruby/models/credit_note_update_input_credit_note.rb +1 -1
- data/lib/lago_ruby/models/credit_notes.rb +1 -1
- data/lib/lago_ruby/models/credit_object.rb +1 -1
- data/lib/lago_ruby/models/credit_object_invoice.rb +1 -1
- data/lib/lago_ruby/models/credit_object_item.rb +1 -1
- data/lib/lago_ruby/models/currency.rb +1 -1
- data/lib/lago_ruby/models/customer.rb +1 -1
- data/lib/lago_ruby/models/customer_billing_configuration.rb +1 -1
- data/lib/lago_ruby/models/customer_charge_usage_object.rb +1 -1
- data/lib/lago_ruby/models/customer_charge_usage_object_billable_metric.rb +1 -1
- data/lib/lago_ruby/models/customer_charge_usage_object_charge.rb +1 -1
- data/lib/lago_ruby/models/customer_charge_usage_object_groups_inner.rb +1 -1
- data/lib/lago_ruby/models/customer_create_input.rb +1 -1
- data/lib/lago_ruby/models/customer_create_input_customer.rb +1 -1
- data/lib/lago_ruby/models/customer_create_input_customer_metadata_inner.rb +1 -1
- data/lib/lago_ruby/models/customer_metadata.rb +1 -1
- data/lib/lago_ruby/models/customer_object.rb +1 -1
- data/lib/lago_ruby/models/customer_object_extended.rb +1 -1
- data/lib/lago_ruby/models/customer_usage.rb +1 -1
- data/lib/lago_ruby/models/customer_usage_object.rb +1 -1
- data/lib/lago_ruby/models/customers_paginated.rb +1 -1
- data/lib/lago_ruby/models/event.rb +1 -1
- data/lib/lago_ruby/models/event_batch_input.rb +1 -1
- data/lib/lago_ruby/models/event_batch_input_event.rb +1 -1
- data/lib/lago_ruby/models/event_batch_input_event_properties.rb +1 -1
- data/lib/lago_ruby/models/event_estimate_fees_input.rb +1 -1
- data/lib/lago_ruby/models/event_estimate_fees_input_event.rb +1 -1
- data/lib/lago_ruby/models/event_input.rb +1 -1
- data/lib/lago_ruby/models/event_input_event.rb +6 -3
- data/lib/lago_ruby/models/event_object.rb +2 -2
- data/lib/lago_ruby/models/event_object_properties.rb +250 -0
- data/lib/lago_ruby/models/fee.rb +1 -1
- data/lib/lago_ruby/models/fee_applied_tax_object.rb +1 -1
- data/lib/lago_ruby/models/fee_object.rb +1 -1
- data/lib/lago_ruby/models/fee_object_item.rb +1 -1
- data/lib/lago_ruby/models/fee_update_input.rb +1 -1
- data/lib/lago_ruby/models/fee_update_input_fee.rb +1 -1
- data/lib/lago_ruby/models/fees.rb +1 -1
- data/lib/lago_ruby/models/fees_paginated.rb +1 -1
- data/lib/lago_ruby/models/find_all_webhook_endpoints200_response.rb +1 -1
- data/lib/lago_ruby/models/get_customer_portal_url200_response.rb +1 -1
- data/lib/lago_ruby/models/get_customer_portal_url200_response_customer.rb +1 -1
- data/lib/lago_ruby/models/group_object.rb +1 -1
- data/lib/lago_ruby/models/group_properties_object.rb +1 -1
- data/lib/lago_ruby/models/group_properties_object_values.rb +1 -1
- data/lib/lago_ruby/models/groups_paginated.rb +1 -1
- data/lib/lago_ruby/models/invoice.rb +1 -1
- data/lib/lago_ruby/models/invoice_applied_tax_object.rb +1 -1
- data/lib/lago_ruby/models/invoice_metadata_object.rb +1 -1
- data/lib/lago_ruby/models/invoice_object.rb +1 -1
- data/lib/lago_ruby/models/invoice_object_customer.rb +1 -1
- data/lib/lago_ruby/models/invoice_object_extended.rb +1 -1
- data/lib/lago_ruby/models/invoice_one_off_create_input.rb +1 -1
- data/lib/lago_ruby/models/invoice_one_off_create_input_invoice.rb +1 -1
- data/lib/lago_ruby/models/invoice_one_off_create_input_invoice_fees_inner.rb +1 -1
- data/lib/lago_ruby/models/invoice_update_input.rb +1 -1
- data/lib/lago_ruby/models/invoice_update_input_invoice.rb +1 -1
- data/lib/lago_ruby/models/invoice_update_input_invoice_metadata_inner.rb +1 -1
- data/lib/lago_ruby/models/invoices_paginated.rb +1 -1
- data/lib/lago_ruby/models/organization.rb +1 -1
- data/lib/lago_ruby/models/organization_billing_configuration.rb +1 -1
- data/lib/lago_ruby/models/organization_object.rb +1 -1
- data/lib/lago_ruby/models/organization_update_input.rb +1 -1
- data/lib/lago_ruby/models/organization_update_input_organization.rb +1 -1
- data/lib/lago_ruby/models/pagination_meta.rb +1 -1
- data/lib/lago_ruby/models/plan.rb +1 -1
- data/lib/lago_ruby/models/plan_create_input.rb +1 -1
- data/lib/lago_ruby/models/plan_create_input_plan.rb +1 -1
- data/lib/lago_ruby/models/plan_create_input_plan_charges_inner.rb +1 -1
- data/lib/lago_ruby/models/plan_create_input_plan_charges_inner_group_properties_inner.rb +1 -1
- data/lib/lago_ruby/models/plan_object.rb +1 -1
- data/lib/lago_ruby/models/plan_update_input.rb +1 -1
- data/lib/lago_ruby/models/plan_update_input_plan.rb +1 -1
- data/lib/lago_ruby/models/plan_update_input_plan_charges_inner.rb +1 -1
- data/lib/lago_ruby/models/plans_paginated.rb +1 -1
- data/lib/lago_ruby/models/subscription.rb +1 -1
- data/lib/lago_ruby/models/subscription_create_input.rb +1 -1
- data/lib/lago_ruby/models/subscription_create_input_subscription.rb +1 -1
- data/lib/lago_ruby/models/subscription_object.rb +1 -1
- data/lib/lago_ruby/models/subscription_update_input.rb +1 -1
- data/lib/lago_ruby/models/subscription_update_input_subscription.rb +1 -1
- data/lib/lago_ruby/models/subscriptions_paginated.rb +1 -1
- data/lib/lago_ruby/models/tax.rb +1 -1
- data/lib/lago_ruby/models/tax_base_input.rb +1 -1
- data/lib/lago_ruby/models/tax_create_input.rb +1 -1
- data/lib/lago_ruby/models/tax_create_input_tax.rb +1 -1
- data/lib/lago_ruby/models/tax_object.rb +1 -1
- data/lib/lago_ruby/models/tax_update_input.rb +1 -1
- data/lib/lago_ruby/models/taxes_paginated.rb +1 -1
- data/lib/lago_ruby/models/timezone.rb +1 -1
- data/lib/lago_ruby/models/wallet.rb +1 -1
- data/lib/lago_ruby/models/wallet_create_input.rb +1 -1
- data/lib/lago_ruby/models/wallet_create_input_wallet.rb +1 -1
- data/lib/lago_ruby/models/wallet_object.rb +1 -1
- data/lib/lago_ruby/models/wallet_transaction_create_input.rb +1 -1
- data/lib/lago_ruby/models/wallet_transaction_create_input_wallet_transaction.rb +1 -1
- data/lib/lago_ruby/models/wallet_transaction_object.rb +1 -1
- data/lib/lago_ruby/models/wallet_transactions.rb +1 -1
- data/lib/lago_ruby/models/wallet_transactions_paginated.rb +1 -1
- data/lib/lago_ruby/models/wallet_update_input.rb +1 -1
- data/lib/lago_ruby/models/wallet_update_input_wallet.rb +1 -1
- data/lib/lago_ruby/models/wallets_paginated.rb +1 -1
- data/lib/lago_ruby/version.rb +2 -2
- data/lib/lago_ruby.rb +2 -5
- data/spec/api_client_spec.rb +1 -1
- data/spec/configuration_spec.rb +1 -1
- data/spec/models/event_object_properties_spec.rb +38 -0
- data/spec/spec_helper.rb +1 -1
- metadata +7 -10
- data/spec/models/applied_add_on_input_applied_add_on_spec.rb +0 -52
- data/spec/models/applied_add_on_input_spec.rb +0 -34
- data/spec/models/applied_add_on_object_spec.rb +0 -76
- 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.
|
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.
|
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-
|
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
|