Skip to content
This repository has been archived by the owner on Dec 12, 2024. It is now read-only.

misc(ruby): Version v0.56.0-beta #8

Closed
wants to merge 1 commit into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
61 changes: 36 additions & 25 deletions ruby/.openapi-generator/FILES
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
.gitignore
.gitlab-ci.yml
.rspec
.rubocop.yml
.travis.yml
Gemfile
README.md
Rakefile
Expand Down Expand Up @@ -79,10 +77,11 @@ docs/CreditObjectItem.md
docs/Currency.md
docs/Customer.md
docs/CustomerBillingConfiguration.md
docs/CustomerChargeGroupedUsageObjectInner.md
docs/CustomerChargeGroupsUsageObjectInner.md
docs/CustomerChargeUsageObject.md
docs/CustomerChargeUsageObjectBillableMetric.md
docs/CustomerChargeUsageObjectCharge.md
docs/CustomerChargeUsageObjectGroupsInner.md
docs/CustomerCreateInput.md
docs/CustomerCreateInputCustomer.md
docs/CustomerCreateInputCustomerMetadataInner.md
Expand All @@ -96,8 +95,6 @@ docs/CustomersApi.md
docs/CustomersPaginated.md
docs/Event.md
docs/EventBatchInput.md
docs/EventBatchInputEvent.md
docs/EventBatchInputEventProperties.md
docs/EventEstimateFeesInput.md
docs/EventEstimateFeesInputEvent.md
docs/EventInput.md
Expand All @@ -109,13 +106,18 @@ docs/EventsApi.md
docs/Fee.md
docs/FeeAppliedTaxObject.md
docs/FeeObject.md
docs/FeeObjectAmountDetails.md
docs/FeeObjectAmountDetailsAllOfGraduatedPercentageRangesInner.md
docs/FeeObjectAmountDetailsAllOfGraduatedRangesInner.md
docs/FeeObjectAmountDetailsAllOfVolumeRangesInner.md
docs/FeeObjectItem.md
docs/FeeUpdateInput.md
docs/FeeUpdateInputFee.md
docs/Fees.md
docs/FeesApi.md
docs/FeesPaginated.md
docs/GenerateCustomerCheckoutURL200Response.md
docs/GenerateCustomerCheckoutURL200ResponseCustomer.md
docs/GetCustomerPortalUrl200Response.md
docs/GetCustomerPortalUrl200ResponseCustomer.md
docs/GrossRevenueObject.md
Expand All @@ -126,6 +128,8 @@ docs/GroupPropertiesObjectValues.md
docs/GroupsPaginated.md
docs/Invoice.md
docs/InvoiceAppliedTaxObject.md
docs/InvoiceCollectionObject.md
docs/InvoiceCollections.md
docs/InvoiceMetadataObject.md
docs/InvoiceObject.md
docs/InvoiceObjectCustomer.md
Expand All @@ -148,8 +152,6 @@ docs/OrganizationObject.md
docs/OrganizationUpdateInput.md
docs/OrganizationUpdateInputOrganization.md
docs/OrganizationsApi.md
docs/OutstandingInvoiceObject.md
docs/OutstandingInvoices.md
docs/PaginationMeta.md
docs/Plan.md
docs/PlanCreateInput.md
Expand Down Expand Up @@ -185,14 +187,17 @@ docs/Timezone.md
docs/Wallet.md
docs/WalletCreateInput.md
docs/WalletCreateInputWallet.md
docs/WalletCreateInputWalletRecurringTransactionRulesInner.md
docs/WalletObject.md
docs/WalletObjectRecurringTransactionRulesInner.md
docs/WalletTransactionCreateInput.md
docs/WalletTransactionCreateInputWalletTransaction.md
docs/WalletTransactionObject.md
docs/WalletTransactions.md
docs/WalletTransactionsPaginated.md
docs/WalletUpdateInput.md
docs/WalletUpdateInputWallet.md
docs/WalletUpdateInputWalletRecurringTransactionRulesInner.md
docs/WalletsApi.md
docs/WalletsPaginated.md
docs/WebhookEndpoint.md
Expand All @@ -203,7 +208,6 @@ docs/WebhookEndpointUpdateInput.md
docs/WebhookEndpointsApi.md
docs/WebhookEndpointsPaginated.md
docs/WebhooksApi.md
git_push.sh
lago_ruby.gemspec
lib/lago_ruby.rb
lib/lago_ruby/api/add_ons_api.rb
Expand Down Expand Up @@ -293,10 +297,11 @@ lib/lago_ruby/models/credit_object_item.rb
lib/lago_ruby/models/currency.rb
lib/lago_ruby/models/customer.rb
lib/lago_ruby/models/customer_billing_configuration.rb
lib/lago_ruby/models/customer_charge_grouped_usage_object_inner.rb
lib/lago_ruby/models/customer_charge_groups_usage_object_inner.rb
lib/lago_ruby/models/customer_charge_usage_object.rb
lib/lago_ruby/models/customer_charge_usage_object_billable_metric.rb
lib/lago_ruby/models/customer_charge_usage_object_charge.rb
lib/lago_ruby/models/customer_charge_usage_object_groups_inner.rb
lib/lago_ruby/models/customer_create_input.rb
lib/lago_ruby/models/customer_create_input_customer.rb
lib/lago_ruby/models/customer_create_input_customer_metadata_inner.rb
Expand All @@ -309,8 +314,6 @@ lib/lago_ruby/models/customer_usage_object.rb
lib/lago_ruby/models/customers_paginated.rb
lib/lago_ruby/models/event.rb
lib/lago_ruby/models/event_batch_input.rb
lib/lago_ruby/models/event_batch_input_event.rb
lib/lago_ruby/models/event_batch_input_event_properties.rb
lib/lago_ruby/models/event_estimate_fees_input.rb
lib/lago_ruby/models/event_estimate_fees_input_event.rb
lib/lago_ruby/models/event_input.rb
Expand All @@ -321,12 +324,17 @@ lib/lago_ruby/models/event_object_properties.rb
lib/lago_ruby/models/fee.rb
lib/lago_ruby/models/fee_applied_tax_object.rb
lib/lago_ruby/models/fee_object.rb
lib/lago_ruby/models/fee_object_amount_details.rb
lib/lago_ruby/models/fee_object_amount_details_all_of_graduated_percentage_ranges_inner.rb
lib/lago_ruby/models/fee_object_amount_details_all_of_graduated_ranges_inner.rb
lib/lago_ruby/models/fee_object_amount_details_all_of_volume_ranges_inner.rb
lib/lago_ruby/models/fee_object_item.rb
lib/lago_ruby/models/fee_update_input.rb
lib/lago_ruby/models/fee_update_input_fee.rb
lib/lago_ruby/models/fees.rb
lib/lago_ruby/models/fees_paginated.rb
lib/lago_ruby/models/generate_customer_checkout_url200_response.rb
lib/lago_ruby/models/generate_customer_checkout_url200_response_customer.rb
lib/lago_ruby/models/get_customer_portal_url200_response.rb
lib/lago_ruby/models/get_customer_portal_url200_response_customer.rb
lib/lago_ruby/models/gross_revenue_object.rb
Expand All @@ -337,6 +345,8 @@ lib/lago_ruby/models/group_properties_object_values.rb
lib/lago_ruby/models/groups_paginated.rb
lib/lago_ruby/models/invoice.rb
lib/lago_ruby/models/invoice_applied_tax_object.rb
lib/lago_ruby/models/invoice_collection_object.rb
lib/lago_ruby/models/invoice_collections.rb
lib/lago_ruby/models/invoice_metadata_object.rb
lib/lago_ruby/models/invoice_object.rb
lib/lago_ruby/models/invoice_object_customer.rb
Expand All @@ -357,8 +367,6 @@ lib/lago_ruby/models/organization_billing_configuration.rb
lib/lago_ruby/models/organization_object.rb
lib/lago_ruby/models/organization_update_input.rb
lib/lago_ruby/models/organization_update_input_organization.rb
lib/lago_ruby/models/outstanding_invoice_object.rb
lib/lago_ruby/models/outstanding_invoices.rb
lib/lago_ruby/models/pagination_meta.rb
lib/lago_ruby/models/plan.rb
lib/lago_ruby/models/plan_create_input.rb
Expand Down Expand Up @@ -391,14 +399,17 @@ lib/lago_ruby/models/timezone.rb
lib/lago_ruby/models/wallet.rb
lib/lago_ruby/models/wallet_create_input.rb
lib/lago_ruby/models/wallet_create_input_wallet.rb
lib/lago_ruby/models/wallet_create_input_wallet_recurring_transaction_rules_inner.rb
lib/lago_ruby/models/wallet_object.rb
lib/lago_ruby/models/wallet_object_recurring_transaction_rules_inner.rb
lib/lago_ruby/models/wallet_transaction_create_input.rb
lib/lago_ruby/models/wallet_transaction_create_input_wallet_transaction.rb
lib/lago_ruby/models/wallet_transaction_object.rb
lib/lago_ruby/models/wallet_transactions.rb
lib/lago_ruby/models/wallet_transactions_paginated.rb
lib/lago_ruby/models/wallet_update_input.rb
lib/lago_ruby/models/wallet_update_input_wallet.rb
lib/lago_ruby/models/wallet_update_input_wallet_recurring_transaction_rules_inner.rb
lib/lago_ruby/models/wallets_paginated.rb
lib/lago_ruby/models/webhook_endpoint.rb
lib/lago_ruby/models/webhook_endpoint_create_input.rb
Expand All @@ -407,16 +418,16 @@ lib/lago_ruby/models/webhook_endpoint_object.rb
lib/lago_ruby/models/webhook_endpoint_update_input.rb
lib/lago_ruby/models/webhook_endpoints_paginated.rb
lib/lago_ruby/version.rb
spec/api/analytics_api_spec.rb
spec/api_client_spec.rb
spec/configuration_spec.rb
spec/models/generate_customer_checkout_url200_response_spec.rb
spec/models/gross_revenue_object_spec.rb
spec/models/gross_revenues_spec.rb
spec/models/invoiced_usage_object_spec.rb
spec/models/invoiced_usages_spec.rb
spec/models/mrr_object_spec.rb
spec/models/mrrs_spec.rb
spec/models/outstanding_invoice_object_spec.rb
spec/models/outstanding_invoices_spec.rb
spec/models/customer_charge_grouped_usage_object_inner_spec.rb
spec/models/customer_charge_groups_usage_object_inner_spec.rb
spec/models/fee_object_amount_details_all_of_graduated_percentage_ranges_inner_spec.rb
spec/models/fee_object_amount_details_all_of_graduated_ranges_inner_spec.rb
spec/models/fee_object_amount_details_all_of_volume_ranges_inner_spec.rb
spec/models/fee_object_amount_details_spec.rb
spec/models/generate_customer_checkout_url200_response_customer_spec.rb
spec/models/invoice_collection_object_spec.rb
spec/models/invoice_collections_spec.rb
spec/models/wallet_create_input_wallet_recurring_transaction_rules_inner_spec.rb
spec/models/wallet_object_recurring_transaction_rules_inner_spec.rb
spec/models/wallet_update_input_wallet_recurring_transaction_rules_inner_spec.rb
spec/spec_helper.rb
2 changes: 1 addition & 1 deletion ruby/.openapi-generator/VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
7.2.0-SNAPSHOT
7.4.0-SNAPSHOT
34 changes: 21 additions & 13 deletions ruby/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ Lago API allows your application to push customer information and metrics (event

This SDK is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project:

- API version: 0.51.0-beta
- Package version: 0.52.0-beta
- API version: 0.53.0-beta
- Package version: 0.56.0-beta
- Build package: org.openapitools.codegen.languages.RubyClientCodegen

[![Gem Version](https://badge.fury.io/rb/lago-ruby.svg)](https://badge.fury.io/rb/lago-ruby)
Expand All @@ -26,22 +26,22 @@ gem build lago_ruby.gemspec
Then either install the gem locally:

```shell
gem install ./lago_ruby-0.52.0-beta.gem
gem install ./lago_ruby-0.56.0-beta.gem
```

(for development, run `gem install --dev ./lago_ruby-0.52.0-beta.gem` to install the development dependencies)
(for development, run `gem install --dev ./lago_ruby-0.56.0-beta.gem` to install the development dependencies)

or publish the gem to a gem hosting service, e.g. [RubyGems](https://rubygems.org/).

Finally add this to the Gemfile:

gem 'lago_ruby', '~> 0.52.0-beta'
gem 'lago_ruby', '~> 0.56.0-beta'

### Install from Git

If the Ruby gem is hosted at a git repository: https://github.com/GIT_USER_ID/GIT_REPO_ID, then add the following in the Gemfile:
If the Ruby gem is hosted at a git repository: https://github.com/getlago/sdk/go, then add the following in the Gemfile:

gem 'lago_ruby', :git => 'https://github.com/GIT_USER_ID/GIT_REPO_ID.git'
gem 'lago_ruby', :git => 'https://github.com/getlago/sdk/go.git'

### Include the Ruby code directly

Expand Down Expand Up @@ -94,9 +94,9 @@ Class | Method | HTTP request | Description
*LagoAPI::AddOnsApi* | [**find_all_add_ons**](docs/AddOnsApi.md#find_all_add_ons) | **GET** /add_ons | List all add-ons
*LagoAPI::AddOnsApi* | [**update_add_on**](docs/AddOnsApi.md#update_add_on) | **PUT** /add_ons/{code} | Update an add-on
*LagoAPI::AnalyticsApi* | [**find_all_gross_revenues**](docs/AnalyticsApi.md#find_all_gross_revenues) | **GET** /analytics/gross_revenue | List gross revenue
*LagoAPI::AnalyticsApi* | [**find_all_invoice_collections**](docs/AnalyticsApi.md#find_all_invoice_collections) | **GET** /analytics/invoice_collection | List of finalized invoices
*LagoAPI::AnalyticsApi* | [**find_all_invoiced_usages**](docs/AnalyticsApi.md#find_all_invoiced_usages) | **GET** /analytics/invoiced_usage | List usage revenue
*LagoAPI::AnalyticsApi* | [**find_all_mrrs**](docs/AnalyticsApi.md#find_all_mrrs) | **GET** /analytics/mrr | List MRR
*LagoAPI::AnalyticsApi* | [**find_all_outstanding_invoices**](docs/AnalyticsApi.md#find_all_outstanding_invoices) | **GET** /analytics/outstanding_invoices | List outstanding invoices
*LagoAPI::BillableMetricsApi* | [**create_billable_metric**](docs/BillableMetricsApi.md#create_billable_metric) | **POST** /billable_metrics | Create a billable metric
*LagoAPI::BillableMetricsApi* | [**destroy_billable_metric**](docs/BillableMetricsApi.md#destroy_billable_metric) | **DELETE** /billable_metrics/{code} | Delete a billable metric
*LagoAPI::BillableMetricsApi* | [**find_all_billable_metric_groups**](docs/BillableMetricsApi.md#find_all_billable_metric_groups) | **GET** /billable_metrics/{code}/groups | Find a billable metric's groups
Expand Down Expand Up @@ -142,6 +142,7 @@ Class | Method | HTTP request | Description
*LagoAPI::InvoicesApi* | [**refresh_invoice**](docs/InvoicesApi.md#refresh_invoice) | **PUT** /invoices/{lago_id}/refresh | Refresh a draft invoice
*LagoAPI::InvoicesApi* | [**retry_payment**](docs/InvoicesApi.md#retry_payment) | **POST** /invoices/{lago_id}/retry_payment | Retry an invoice payment
*LagoAPI::InvoicesApi* | [**update_invoice**](docs/InvoicesApi.md#update_invoice) | **PUT** /invoices/{lago_id} | Update an invoice
*LagoAPI::InvoicesApi* | [**void_invoice**](docs/InvoicesApi.md#void_invoice) | **POST** /invoices/{lago_id}/void | Void an invoice
*LagoAPI::OrganizationsApi* | [**update_organization**](docs/OrganizationsApi.md#update_organization) | **PUT** /organizations | Update your organization
*LagoAPI::PlansApi* | [**create_plan**](docs/PlansApi.md#create_plan) | **POST** /plans | Create a plan
*LagoAPI::PlansApi* | [**destroy_plan**](docs/PlansApi.md#destroy_plan) | **DELETE** /plans/{code} | Delete a plan
Expand Down Expand Up @@ -243,10 +244,11 @@ Class | Method | HTTP request | Description
- [LagoAPI::Currency](docs/Currency.md)
- [LagoAPI::Customer](docs/Customer.md)
- [LagoAPI::CustomerBillingConfiguration](docs/CustomerBillingConfiguration.md)
- [LagoAPI::CustomerChargeGroupedUsageObjectInner](docs/CustomerChargeGroupedUsageObjectInner.md)
- [LagoAPI::CustomerChargeGroupsUsageObjectInner](docs/CustomerChargeGroupsUsageObjectInner.md)
- [LagoAPI::CustomerChargeUsageObject](docs/CustomerChargeUsageObject.md)
- [LagoAPI::CustomerChargeUsageObjectBillableMetric](docs/CustomerChargeUsageObjectBillableMetric.md)
- [LagoAPI::CustomerChargeUsageObjectCharge](docs/CustomerChargeUsageObjectCharge.md)
- [LagoAPI::CustomerChargeUsageObjectGroupsInner](docs/CustomerChargeUsageObjectGroupsInner.md)
- [LagoAPI::CustomerCreateInput](docs/CustomerCreateInput.md)
- [LagoAPI::CustomerCreateInputCustomer](docs/CustomerCreateInputCustomer.md)
- [LagoAPI::CustomerCreateInputCustomerMetadataInner](docs/CustomerCreateInputCustomerMetadataInner.md)
Expand All @@ -259,8 +261,6 @@ Class | Method | HTTP request | Description
- [LagoAPI::CustomersPaginated](docs/CustomersPaginated.md)
- [LagoAPI::Event](docs/Event.md)
- [LagoAPI::EventBatchInput](docs/EventBatchInput.md)
- [LagoAPI::EventBatchInputEvent](docs/EventBatchInputEvent.md)
- [LagoAPI::EventBatchInputEventProperties](docs/EventBatchInputEventProperties.md)
- [LagoAPI::EventEstimateFeesInput](docs/EventEstimateFeesInput.md)
- [LagoAPI::EventEstimateFeesInputEvent](docs/EventEstimateFeesInputEvent.md)
- [LagoAPI::EventInput](docs/EventInput.md)
Expand All @@ -271,12 +271,17 @@ Class | Method | HTTP request | Description
- [LagoAPI::Fee](docs/Fee.md)
- [LagoAPI::FeeAppliedTaxObject](docs/FeeAppliedTaxObject.md)
- [LagoAPI::FeeObject](docs/FeeObject.md)
- [LagoAPI::FeeObjectAmountDetails](docs/FeeObjectAmountDetails.md)
- [LagoAPI::FeeObjectAmountDetailsAllOfGraduatedPercentageRangesInner](docs/FeeObjectAmountDetailsAllOfGraduatedPercentageRangesInner.md)
- [LagoAPI::FeeObjectAmountDetailsAllOfGraduatedRangesInner](docs/FeeObjectAmountDetailsAllOfGraduatedRangesInner.md)
- [LagoAPI::FeeObjectAmountDetailsAllOfVolumeRangesInner](docs/FeeObjectAmountDetailsAllOfVolumeRangesInner.md)
- [LagoAPI::FeeObjectItem](docs/FeeObjectItem.md)
- [LagoAPI::FeeUpdateInput](docs/FeeUpdateInput.md)
- [LagoAPI::FeeUpdateInputFee](docs/FeeUpdateInputFee.md)
- [LagoAPI::Fees](docs/Fees.md)
- [LagoAPI::FeesPaginated](docs/FeesPaginated.md)
- [LagoAPI::GenerateCustomerCheckoutURL200Response](docs/GenerateCustomerCheckoutURL200Response.md)
- [LagoAPI::GenerateCustomerCheckoutURL200ResponseCustomer](docs/GenerateCustomerCheckoutURL200ResponseCustomer.md)
- [LagoAPI::GetCustomerPortalUrl200Response](docs/GetCustomerPortalUrl200Response.md)
- [LagoAPI::GetCustomerPortalUrl200ResponseCustomer](docs/GetCustomerPortalUrl200ResponseCustomer.md)
- [LagoAPI::GrossRevenueObject](docs/GrossRevenueObject.md)
Expand All @@ -287,6 +292,8 @@ Class | Method | HTTP request | Description
- [LagoAPI::GroupsPaginated](docs/GroupsPaginated.md)
- [LagoAPI::Invoice](docs/Invoice.md)
- [LagoAPI::InvoiceAppliedTaxObject](docs/InvoiceAppliedTaxObject.md)
- [LagoAPI::InvoiceCollectionObject](docs/InvoiceCollectionObject.md)
- [LagoAPI::InvoiceCollections](docs/InvoiceCollections.md)
- [LagoAPI::InvoiceMetadataObject](docs/InvoiceMetadataObject.md)
- [LagoAPI::InvoiceObject](docs/InvoiceObject.md)
- [LagoAPI::InvoiceObjectCustomer](docs/InvoiceObjectCustomer.md)
Expand All @@ -307,8 +314,6 @@ Class | Method | HTTP request | Description
- [LagoAPI::OrganizationObject](docs/OrganizationObject.md)
- [LagoAPI::OrganizationUpdateInput](docs/OrganizationUpdateInput.md)
- [LagoAPI::OrganizationUpdateInputOrganization](docs/OrganizationUpdateInputOrganization.md)
- [LagoAPI::OutstandingInvoiceObject](docs/OutstandingInvoiceObject.md)
- [LagoAPI::OutstandingInvoices](docs/OutstandingInvoices.md)
- [LagoAPI::PaginationMeta](docs/PaginationMeta.md)
- [LagoAPI::Plan](docs/Plan.md)
- [LagoAPI::PlanCreateInput](docs/PlanCreateInput.md)
Expand Down Expand Up @@ -341,14 +346,17 @@ Class | Method | HTTP request | Description
- [LagoAPI::Wallet](docs/Wallet.md)
- [LagoAPI::WalletCreateInput](docs/WalletCreateInput.md)
- [LagoAPI::WalletCreateInputWallet](docs/WalletCreateInputWallet.md)
- [LagoAPI::WalletCreateInputWalletRecurringTransactionRulesInner](docs/WalletCreateInputWalletRecurringTransactionRulesInner.md)
- [LagoAPI::WalletObject](docs/WalletObject.md)
- [LagoAPI::WalletObjectRecurringTransactionRulesInner](docs/WalletObjectRecurringTransactionRulesInner.md)
- [LagoAPI::WalletTransactionCreateInput](docs/WalletTransactionCreateInput.md)
- [LagoAPI::WalletTransactionCreateInputWalletTransaction](docs/WalletTransactionCreateInputWalletTransaction.md)
- [LagoAPI::WalletTransactionObject](docs/WalletTransactionObject.md)
- [LagoAPI::WalletTransactions](docs/WalletTransactions.md)
- [LagoAPI::WalletTransactionsPaginated](docs/WalletTransactionsPaginated.md)
- [LagoAPI::WalletUpdateInput](docs/WalletUpdateInput.md)
- [LagoAPI::WalletUpdateInputWallet](docs/WalletUpdateInputWallet.md)
- [LagoAPI::WalletUpdateInputWalletRecurringTransactionRulesInner](docs/WalletUpdateInputWalletRecurringTransactionRulesInner.md)
- [LagoAPI::WalletsPaginated](docs/WalletsPaginated.md)
- [LagoAPI::WebhookEndpoint](docs/WebhookEndpoint.md)
- [LagoAPI::WebhookEndpointCreateInput](docs/WebhookEndpointCreateInput.md)
Expand Down
Loading
Loading