billabear 1.0.0 → 1.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/README.md +509 -364
- data/billabear.gemspec +4 -4
- data/docs/Address.md +1 -1
- data/docs/BillingAdmin.md +1 -1
- data/docs/CheckoutApi.md +6 -6
- data/docs/CheckoutBody.md +1 -1
- data/docs/CheckoutItems.md +1 -1
- data/docs/CheckoutSubscriptions.md +1 -1
- data/docs/Cost.md +8 -0
- data/docs/Customer.md +3 -1
- data/docs/CustomerIdUasgelimitBody.md +8 -0
- data/docs/CustomersApi.md +319 -101
- data/docs/Error.md +1 -1
- data/docs/Event.md +11 -0
- data/docs/Feature.md +1 -1
- data/docs/FrontendToken.md +1 -1
- data/docs/InlineResponse200.md +1 -1
- data/docs/InlineResponse2001.md +3 -4
- data/docs/InlineResponse20010.md +2 -2
- data/docs/InlineResponse20011.md +4 -2
- data/docs/InlineResponse20012.md +4 -3
- data/docs/InlineResponse20013.md +7 -0
- data/docs/InlineResponse20014.md +8 -0
- data/docs/InlineResponse2002.md +4 -4
- data/docs/InlineResponse2003.md +2 -2
- data/docs/InlineResponse2004.md +2 -2
- data/docs/InlineResponse2005.md +2 -2
- data/docs/InlineResponse2006.md +2 -2
- data/docs/InlineResponse2007.md +2 -2
- data/docs/InlineResponse2008.md +2 -2
- data/docs/InlineResponse2009.md +2 -2
- data/docs/{InlineResponse2007Data.md → InlineResponse2009Data.md} +2 -2
- data/docs/{InlineResponse2007Receipts.md → InlineResponse2009Receipts.md} +1 -1
- data/docs/InlineResponse201.md +1 -1
- data/docs/InlineResponse201Lines.md +1 -1
- data/docs/InlineResponse400.md +1 -1
- data/docs/Invoice.md +1 -1
- data/docs/InvoiceLines.md +1 -1
- data/docs/InvoicesApi.md +17 -17
- data/docs/IssueRefundPayment.md +1 -1
- data/docs/Limit.md +1 -1
- data/docs/Metric.md +12 -0
- data/docs/MetricCost.md +10 -0
- data/docs/MetricFilter.md +11 -0
- data/docs/PaymentDetails.md +1 -1
- data/docs/PaymentDetailsApi.md +48 -52
- data/docs/PaymentsApi.md +41 -42
- data/docs/Price.md +2 -1
- data/docs/PricesApi.md +15 -16
- data/docs/Product.md +1 -1
- data/docs/ProductTaxType.md +1 -1
- data/docs/ProductsApi.md +23 -24
- data/docs/ReceiptApi.md +5 -5
- data/docs/Refund.md +1 -1
- data/docs/RefundsApi.md +17 -17
- data/docs/SeatsAddBody.md +1 -1
- data/docs/SeatsRemoveBody.md +1 -1
- data/docs/Subscription.md +2 -1
- data/docs/SubscriptionIdCancelBody.md +1 -1
- data/docs/SubscriptionIdExtendBody.md +1 -1
- data/docs/SubscriptionIdPlanBody.md +2 -2
- data/docs/SubscriptionIdPriceBody.md +1 -1
- data/docs/SubscriptionPlan.md +1 -1
- data/docs/SubscriptionStartBody.md +2 -1
- data/docs/SubscriptionTrialBody.md +1 -1
- data/docs/SubscriptionsApi.md +78 -79
- data/docs/UsageApi.md +279 -0
- data/docs/UsageLimit.md +9 -0
- data/docs/VoucherCode.md +1 -1
- data/git_push.sh +2 -2
- data/lib/{swagger_client → billabear}/api/checkout_api.rb +3 -3
- data/lib/{swagger_client → billabear}/api/customers_api.rb +284 -45
- data/lib/{swagger_client → billabear}/api/invoices_api.rb +9 -9
- data/lib/{swagger_client → billabear}/api/payment_details_api.rb +26 -26
- data/lib/{swagger_client → billabear}/api/payments_api.rb +20 -20
- data/lib/{swagger_client → billabear}/api/prices_api.rb +11 -11
- data/lib/{swagger_client → billabear}/api/products_api.rb +11 -11
- data/lib/{swagger_client → billabear}/api/receipt_api.rb +3 -3
- data/lib/{swagger_client → billabear}/api/refunds_api.rb +9 -9
- data/lib/{swagger_client → billabear}/api/subscriptions_api.rb +29 -29
- data/lib/billabear/api/usage_api.rb +314 -0
- data/lib/{swagger_client → billabear}/api_client.rb +4 -4
- data/lib/{swagger_client → billabear}/api_error.rb +3 -3
- data/lib/{swagger_client → billabear}/configuration.rb +3 -3
- data/lib/{swagger_client → billabear}/models/address.rb +6 -6
- data/lib/{swagger_client → billabear}/models/billing_admin.rb +6 -6
- data/lib/{swagger_client → billabear}/models/checkout_body.rb +6 -6
- data/lib/{swagger_client → billabear}/models/checkout_items.rb +6 -6
- data/lib/{swagger_client → billabear}/models/checkout_subscriptions.rb +6 -6
- data/lib/billabear/models/cost.rb +215 -0
- data/lib/{swagger_client → billabear}/models/customer.rb +45 -11
- data/lib/billabear/models/customer_id_uasgelimit_body.rb +259 -0
- data/lib/{swagger_client → billabear}/models/error.rb +6 -6
- data/lib/billabear/models/event.rb +262 -0
- data/lib/{swagger_client → billabear}/models/feature.rb +6 -6
- data/lib/{swagger_client → billabear}/models/frontend_token.rb +6 -6
- data/lib/{swagger_client → billabear}/models/inline_response_200.rb +6 -6
- data/lib/billabear/models/inline_response_200_1.rb +217 -0
- data/lib/{swagger_client → billabear}/models/inline_response_200_10.rb +6 -6
- data/lib/{swagger_client/models/inline_response_200_2.rb → billabear/models/inline_response_200_11.rb} +7 -7
- data/lib/billabear/models/inline_response_200_12.rb +226 -0
- data/lib/{swagger_client/models/inline_response_200_11.rb → billabear/models/inline_response_200_13.rb} +7 -7
- data/lib/{swagger_client/models/inline_response_200_12.rb → billabear/models/inline_response_200_14.rb} +7 -7
- data/lib/{swagger_client/models/inline_response_200_1.rb → billabear/models/inline_response_200_2.rb} +7 -7
- data/lib/{swagger_client → billabear}/models/inline_response_200_3.rb +6 -6
- data/lib/{swagger_client → billabear}/models/inline_response_200_4.rb +6 -6
- data/lib/{swagger_client → billabear}/models/inline_response_200_5.rb +6 -6
- data/lib/{swagger_client → billabear}/models/inline_response_200_6.rb +6 -6
- data/lib/{swagger_client → billabear}/models/inline_response_200_7.rb +6 -6
- data/lib/{swagger_client → billabear}/models/inline_response_200_8.rb +6 -6
- data/lib/{swagger_client → billabear}/models/inline_response_200_9.rb +6 -6
- data/lib/{swagger_client/models/inline_response_200_7_data.rb → billabear/models/inline_response_200_9_data.rb} +7 -7
- data/lib/{swagger_client/models/inline_response_200_7_receipts.rb → billabear/models/inline_response_200_9_receipts.rb} +7 -7
- data/lib/{swagger_client → billabear}/models/inline_response_201.rb +6 -6
- data/lib/{swagger_client → billabear}/models/inline_response_201_lines.rb +6 -6
- data/lib/{swagger_client → billabear}/models/inline_response_400.rb +6 -6
- data/lib/{swagger_client → billabear}/models/invoice.rb +6 -6
- data/lib/{swagger_client → billabear}/models/invoice_lines.rb +6 -6
- data/lib/{swagger_client → billabear}/models/issue_refund_payment.rb +6 -6
- data/lib/{swagger_client → billabear}/models/limit.rb +6 -6
- data/lib/billabear/models/metric.rb +288 -0
- data/lib/billabear/models/metric_cost.rb +234 -0
- data/lib/billabear/models/metric_filter.rb +276 -0
- data/lib/{swagger_client → billabear}/models/payment_details.rb +6 -6
- data/lib/{swagger_client → billabear}/models/price.rb +20 -11
- data/lib/{swagger_client → billabear}/models/product.rb +6 -6
- data/lib/{swagger_client → billabear}/models/product_tax_type.rb +6 -6
- data/lib/{swagger_client → billabear}/models/refund.rb +6 -6
- data/lib/{swagger_client → billabear}/models/seats_add_body.rb +6 -6
- data/lib/{swagger_client → billabear}/models/seats_remove_body.rb +6 -6
- data/lib/{swagger_client → billabear}/models/subscription.rb +16 -7
- data/lib/{swagger_client → billabear}/models/subscription_id_cancel_body.rb +6 -6
- data/lib/{swagger_client → billabear}/models/subscription_id_extend_body.rb +6 -6
- data/lib/{swagger_client → billabear}/models/subscription_id_plan_body.rb +11 -6
- data/lib/{swagger_client → billabear}/models/subscription_id_price_body.rb +6 -6
- data/lib/{swagger_client → billabear}/models/subscription_plan.rb +6 -6
- data/lib/{swagger_client → billabear}/models/subscription_start_body.rb +20 -10
- data/lib/{swagger_client → billabear}/models/subscription_trial_body.rb +6 -6
- data/lib/billabear/models/usage_limit.rb +258 -0
- data/lib/{swagger_client → billabear}/models/voucher_code.rb +6 -6
- data/lib/{swagger_client → billabear}/version.rb +4 -4
- data/lib/billabear.rb +105 -0
- data/spec/api/checkout_api_spec.rb +5 -5
- data/spec/api/customers_api_spec.rb +68 -17
- data/spec/api/invoices_api_spec.rb +7 -7
- data/spec/api/payment_details_api_spec.rb +10 -10
- data/spec/api/payments_api_spec.rb +10 -10
- data/spec/api/prices_api_spec.rb +7 -7
- data/spec/api/products_api_spec.rb +7 -7
- data/spec/api/receipt_api_spec.rb +5 -5
- data/spec/api/refunds_api_spec.rb +7 -7
- data/spec/api/subscriptions_api_spec.rb +13 -13
- data/spec/api/usage_api_spec.rb +96 -0
- data/spec/api_client_spec.rb +31 -31
- data/spec/configuration_spec.rb +5 -5
- data/spec/models/address_spec.rb +5 -5
- data/spec/models/billing_admin_spec.rb +5 -5
- data/spec/models/checkout_body_spec.rb +5 -5
- data/spec/models/checkout_items_spec.rb +5 -5
- data/spec/models/checkout_subscriptions_spec.rb +5 -5
- data/spec/models/cost_spec.rb +46 -0
- data/spec/models/customer_id_uasgelimit_body_spec.rb +50 -0
- data/spec/models/customer_spec.rb +21 -5
- data/spec/models/error_spec.rb +5 -5
- data/spec/models/event_spec.rb +64 -0
- data/spec/models/feature_spec.rb +5 -5
- data/spec/models/frontend_token_spec.rb +5 -5
- data/spec/models/inline_response_200_10_spec.rb +5 -5
- data/spec/models/inline_response_200_11_spec.rb +18 -6
- data/spec/models/inline_response_200_12_spec.rb +13 -11
- data/spec/models/inline_response_200_13_spec.rb +40 -0
- data/spec/models/inline_response_200_14_spec.rb +50 -0
- data/spec/models/inline_response_200_1_spec.rb +7 -13
- data/spec/models/inline_response_200_2_spec.rb +8 -8
- data/spec/models/inline_response_200_3_spec.rb +5 -5
- data/spec/models/inline_response_200_4_spec.rb +5 -5
- data/spec/models/inline_response_200_5_spec.rb +5 -5
- data/spec/models/inline_response_200_6_spec.rb +5 -5
- data/spec/models/inline_response_200_7_spec.rb +5 -5
- data/spec/models/inline_response_200_8_spec.rb +5 -5
- data/spec/models/{inline_response_200_7_data_spec.rb → inline_response_200_9_data_spec.rb} +8 -8
- data/spec/models/{inline_response_200_7_receipts_spec.rb → inline_response_200_9_receipts_spec.rb} +8 -8
- data/spec/models/inline_response_200_9_spec.rb +5 -5
- data/spec/models/inline_response_200_spec.rb +5 -5
- data/spec/models/inline_response_201_lines_spec.rb +5 -5
- data/spec/models/inline_response_201_spec.rb +5 -5
- data/spec/models/inline_response_400_spec.rb +5 -5
- data/spec/models/invoice_lines_spec.rb +5 -5
- data/spec/models/invoice_spec.rb +5 -5
- data/spec/models/issue_refund_payment_spec.rb +5 -5
- data/spec/models/limit_spec.rb +5 -5
- data/spec/models/metric_cost_spec.rb +58 -0
- data/spec/models/metric_filter_spec.rb +68 -0
- data/spec/models/metric_spec.rb +74 -0
- data/spec/models/payment_details_spec.rb +5 -5
- data/spec/models/price_spec.rb +11 -5
- data/spec/models/product_spec.rb +5 -5
- data/spec/models/product_tax_type_spec.rb +5 -5
- data/spec/models/refund_spec.rb +5 -5
- data/spec/models/seats_add_body_spec.rb +5 -5
- data/spec/models/seats_remove_body_spec.rb +5 -5
- data/spec/models/subscription_id_cancel_body_spec.rb +5 -5
- data/spec/models/subscription_id_extend_body_spec.rb +5 -5
- data/spec/models/subscription_id_plan_body_spec.rb +5 -5
- data/spec/models/subscription_id_price_body_spec.rb +5 -5
- data/spec/models/subscription_plan_spec.rb +5 -5
- data/spec/models/subscription_spec.rb +11 -5
- data/spec/models/subscription_start_body_spec.rb +11 -5
- data/spec/models/subscription_trial_body_spec.rb +5 -5
- data/spec/models/usage_limit_spec.rb +56 -0
- data/spec/models/voucher_code_spec.rb +5 -5
- data/spec/spec_helper.rb +3 -3
- metadata +110 -70
- data/lib/swagger_client.rb +0 -95
|
@@ -3,22 +3,22 @@
|
|
|
3
3
|
|
|
4
4
|
#The REST API provided by BillaBear
|
|
5
5
|
|
|
6
|
-
OpenAPI spec version: 1.
|
|
6
|
+
OpenAPI spec version: 1.1.0
|
|
7
7
|
Contact: support@billabear.com
|
|
8
8
|
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
|
9
|
-
Swagger Codegen version: 3.0.
|
|
9
|
+
Swagger Codegen version: 3.0.66
|
|
10
10
|
=end
|
|
11
11
|
|
|
12
12
|
require 'spec_helper'
|
|
13
13
|
require 'json'
|
|
14
14
|
|
|
15
|
-
# Unit tests for
|
|
15
|
+
# Unit tests for Billabear::InvoicesApi
|
|
16
16
|
# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen)
|
|
17
17
|
# Please update as you see appropriate
|
|
18
18
|
describe 'InvoicesApi' do
|
|
19
19
|
before do
|
|
20
20
|
# run before each test
|
|
21
|
-
@instance =
|
|
21
|
+
@instance = Billabear::InvoicesApi.new
|
|
22
22
|
end
|
|
23
23
|
|
|
24
24
|
after do
|
|
@@ -27,7 +27,7 @@ describe 'InvoicesApi' do
|
|
|
27
27
|
|
|
28
28
|
describe 'test an instance of InvoicesApi' do
|
|
29
29
|
it 'should create an instance of InvoicesApi' do
|
|
30
|
-
expect(@instance).to be_instance_of(
|
|
30
|
+
expect(@instance).to be_instance_of(Billabear::InvoicesApi)
|
|
31
31
|
end
|
|
32
32
|
end
|
|
33
33
|
|
|
@@ -36,7 +36,7 @@ describe 'InvoicesApi' do
|
|
|
36
36
|
# Attempts to charge a card that is on file for the invoice amount
|
|
37
37
|
# @param invoice_id The id of the invoice
|
|
38
38
|
# @param [Hash] opts the optional parameters
|
|
39
|
-
# @return [
|
|
39
|
+
# @return [InlineResponse20014]
|
|
40
40
|
describe 'charge_invoice test' do
|
|
41
41
|
it 'should work' do
|
|
42
42
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
@@ -60,7 +60,7 @@ describe 'InvoicesApi' do
|
|
|
60
60
|
# List Customer Invoices
|
|
61
61
|
# @param customer_id The id of the customer to retrieve
|
|
62
62
|
# @param [Hash] opts the optional parameters
|
|
63
|
-
# @return [
|
|
63
|
+
# @return [InlineResponse2006]
|
|
64
64
|
describe 'get_invoices_for_customer test' do
|
|
65
65
|
it 'should work' do
|
|
66
66
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
@@ -3,22 +3,22 @@
|
|
|
3
3
|
|
|
4
4
|
#The REST API provided by BillaBear
|
|
5
5
|
|
|
6
|
-
OpenAPI spec version: 1.
|
|
6
|
+
OpenAPI spec version: 1.1.0
|
|
7
7
|
Contact: support@billabear.com
|
|
8
8
|
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
|
9
|
-
Swagger Codegen version: 3.0.
|
|
9
|
+
Swagger Codegen version: 3.0.66
|
|
10
10
|
=end
|
|
11
11
|
|
|
12
12
|
require 'spec_helper'
|
|
13
13
|
require 'json'
|
|
14
14
|
|
|
15
|
-
# Unit tests for
|
|
15
|
+
# Unit tests for Billabear::PaymentDetailsApi
|
|
16
16
|
# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen)
|
|
17
17
|
# Please update as you see appropriate
|
|
18
18
|
describe 'PaymentDetailsApi' do
|
|
19
19
|
before do
|
|
20
20
|
# run before each test
|
|
21
|
-
@instance =
|
|
21
|
+
@instance = Billabear::PaymentDetailsApi.new
|
|
22
22
|
end
|
|
23
23
|
|
|
24
24
|
after do
|
|
@@ -27,7 +27,7 @@ describe 'PaymentDetailsApi' do
|
|
|
27
27
|
|
|
28
28
|
describe 'test an instance of PaymentDetailsApi' do
|
|
29
29
|
it 'should create an instance of PaymentDetailsApi' do
|
|
30
|
-
expect(@instance).to be_instance_of(
|
|
30
|
+
expect(@instance).to be_instance_of(Billabear::PaymentDetailsApi)
|
|
31
31
|
end
|
|
32
32
|
end
|
|
33
33
|
|
|
@@ -49,7 +49,7 @@ describe 'PaymentDetailsApi' do
|
|
|
49
49
|
# Delete Payment Details
|
|
50
50
|
# @param payment_details_id The id of the payment details
|
|
51
51
|
# @param [Hash] opts the optional parameters
|
|
52
|
-
# @return [
|
|
52
|
+
# @return [nil]
|
|
53
53
|
describe 'delete_payment_details test' do
|
|
54
54
|
it 'should work' do
|
|
55
55
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
@@ -62,7 +62,7 @@ describe 'PaymentDetailsApi' do
|
|
|
62
62
|
# @param customer_id The id of the customer to retrieve
|
|
63
63
|
# @param payment_details_id The id of the payment details
|
|
64
64
|
# @param [Hash] opts the optional parameters
|
|
65
|
-
# @return [
|
|
65
|
+
# @return [nil]
|
|
66
66
|
describe 'delete_payment_details_customer test' do
|
|
67
67
|
it 'should work' do
|
|
68
68
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
@@ -86,7 +86,7 @@ describe 'PaymentDetailsApi' do
|
|
|
86
86
|
# List all customers <br><br>Added in version 1.1
|
|
87
87
|
# @param customer_id The id of the customer to retrieve
|
|
88
88
|
# @param [Hash] opts the optional parameters
|
|
89
|
-
# @return [
|
|
89
|
+
# @return [InlineResponse2007]
|
|
90
90
|
describe 'list_payment_details test' do
|
|
91
91
|
it 'should work' do
|
|
92
92
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
@@ -99,7 +99,7 @@ describe 'PaymentDetailsApi' do
|
|
|
99
99
|
# @param customer_id The id of the customer to retrieve
|
|
100
100
|
# @param payment_details_id The id of the payment details
|
|
101
101
|
# @param [Hash] opts the optional parameters
|
|
102
|
-
# @return [
|
|
102
|
+
# @return [nil]
|
|
103
103
|
describe 'make_default_payment_details test' do
|
|
104
104
|
it 'should work' do
|
|
105
105
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
@@ -112,7 +112,7 @@ describe 'PaymentDetailsApi' do
|
|
|
112
112
|
# @param customer_id The id of the customer to retrieve
|
|
113
113
|
# @param payment_details_id The id of the payment details
|
|
114
114
|
# @param [Hash] opts the optional parameters
|
|
115
|
-
# @return [
|
|
115
|
+
# @return [nil]
|
|
116
116
|
describe 'make_default_payment_details_customer test' do
|
|
117
117
|
it 'should work' do
|
|
118
118
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
@@ -3,22 +3,22 @@
|
|
|
3
3
|
|
|
4
4
|
#The REST API provided by BillaBear
|
|
5
5
|
|
|
6
|
-
OpenAPI spec version: 1.
|
|
6
|
+
OpenAPI spec version: 1.1.0
|
|
7
7
|
Contact: support@billabear.com
|
|
8
8
|
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
|
9
|
-
Swagger Codegen version: 3.0.
|
|
9
|
+
Swagger Codegen version: 3.0.66
|
|
10
10
|
=end
|
|
11
11
|
|
|
12
12
|
require 'spec_helper'
|
|
13
13
|
require 'json'
|
|
14
14
|
|
|
15
|
-
# Unit tests for
|
|
15
|
+
# Unit tests for Billabear::PaymentsApi
|
|
16
16
|
# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen)
|
|
17
17
|
# Please update as you see appropriate
|
|
18
18
|
describe 'PaymentsApi' do
|
|
19
19
|
before do
|
|
20
20
|
# run before each test
|
|
21
|
-
@instance =
|
|
21
|
+
@instance = Billabear::PaymentsApi.new
|
|
22
22
|
end
|
|
23
23
|
|
|
24
24
|
after do
|
|
@@ -27,7 +27,7 @@ describe 'PaymentsApi' do
|
|
|
27
27
|
|
|
28
28
|
describe 'test an instance of PaymentsApi' do
|
|
29
29
|
it 'should create an instance of PaymentsApi' do
|
|
30
|
-
expect(@instance).to be_instance_of(
|
|
30
|
+
expect(@instance).to be_instance_of(Billabear::PaymentsApi)
|
|
31
31
|
end
|
|
32
32
|
end
|
|
33
33
|
|
|
@@ -36,7 +36,7 @@ describe 'PaymentsApi' do
|
|
|
36
36
|
# Attempts to charge a card that is on file for the invoice amount
|
|
37
37
|
# @param invoice_id The id of the invoice
|
|
38
38
|
# @param [Hash] opts the optional parameters
|
|
39
|
-
# @return [
|
|
39
|
+
# @return [InlineResponse20014]
|
|
40
40
|
describe 'charge_invoice test' do
|
|
41
41
|
it 'should work' do
|
|
42
42
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
@@ -72,7 +72,7 @@ describe 'PaymentsApi' do
|
|
|
72
72
|
# List Customer Invoices
|
|
73
73
|
# @param customer_id The id of the customer to retrieve
|
|
74
74
|
# @param [Hash] opts the optional parameters
|
|
75
|
-
# @return [
|
|
75
|
+
# @return [InlineResponse2006]
|
|
76
76
|
describe 'get_invoices_for_customer test' do
|
|
77
77
|
it 'should work' do
|
|
78
78
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
@@ -87,7 +87,7 @@ describe 'PaymentsApi' do
|
|
|
87
87
|
# @option opts [Integer] :limit How many items to return at one time (max 100)
|
|
88
88
|
# @option opts [String] :last_key The key to be used in pagination to say what the last key of the previous page was
|
|
89
89
|
# @option opts [String] :name The name to search for
|
|
90
|
-
# @return [
|
|
90
|
+
# @return [InlineResponse2004]
|
|
91
91
|
describe 'get_payments_for_customer test' do
|
|
92
92
|
it 'should work' do
|
|
93
93
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
@@ -101,7 +101,7 @@ describe 'PaymentsApi' do
|
|
|
101
101
|
# @option opts [Integer] :limit How many items to return at one time (max 100)
|
|
102
102
|
# @option opts [String] :last_key The key to be used in pagination to say what the last key of the previous page was
|
|
103
103
|
# @option opts [String] :name The name to search for
|
|
104
|
-
# @return [
|
|
104
|
+
# @return [InlineResponse2009]
|
|
105
105
|
describe 'list_payment test' do
|
|
106
106
|
it 'should work' do
|
|
107
107
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
@@ -114,7 +114,7 @@ describe 'PaymentsApi' do
|
|
|
114
114
|
# @param body
|
|
115
115
|
# @param payment_id The id of the payment
|
|
116
116
|
# @param [Hash] opts the optional parameters
|
|
117
|
-
# @return [
|
|
117
|
+
# @return [nil]
|
|
118
118
|
describe 'refund_payment test' do
|
|
119
119
|
it 'should work' do
|
|
120
120
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
data/spec/api/prices_api_spec.rb
CHANGED
|
@@ -3,22 +3,22 @@
|
|
|
3
3
|
|
|
4
4
|
#The REST API provided by BillaBear
|
|
5
5
|
|
|
6
|
-
OpenAPI spec version: 1.
|
|
6
|
+
OpenAPI spec version: 1.1.0
|
|
7
7
|
Contact: support@billabear.com
|
|
8
8
|
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
|
9
|
-
Swagger Codegen version: 3.0.
|
|
9
|
+
Swagger Codegen version: 3.0.66
|
|
10
10
|
=end
|
|
11
11
|
|
|
12
12
|
require 'spec_helper'
|
|
13
13
|
require 'json'
|
|
14
14
|
|
|
15
|
-
# Unit tests for
|
|
15
|
+
# Unit tests for Billabear::PricesApi
|
|
16
16
|
# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen)
|
|
17
17
|
# Please update as you see appropriate
|
|
18
18
|
describe 'PricesApi' do
|
|
19
19
|
before do
|
|
20
20
|
# run before each test
|
|
21
|
-
@instance =
|
|
21
|
+
@instance = Billabear::PricesApi.new
|
|
22
22
|
end
|
|
23
23
|
|
|
24
24
|
after do
|
|
@@ -27,7 +27,7 @@ describe 'PricesApi' do
|
|
|
27
27
|
|
|
28
28
|
describe 'test an instance of PricesApi' do
|
|
29
29
|
it 'should create an instance of PricesApi' do
|
|
30
|
-
expect(@instance).to be_instance_of(
|
|
30
|
+
expect(@instance).to be_instance_of(Billabear::PricesApi)
|
|
31
31
|
end
|
|
32
32
|
end
|
|
33
33
|
|
|
@@ -37,7 +37,7 @@ describe 'PricesApi' do
|
|
|
37
37
|
# @param body
|
|
38
38
|
# @param product_id The id of the product to retrieve
|
|
39
39
|
# @param [Hash] opts the optional parameters
|
|
40
|
-
# @return [
|
|
40
|
+
# @return [nil]
|
|
41
41
|
describe 'create_price test' do
|
|
42
42
|
it 'should work' do
|
|
43
43
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
@@ -51,7 +51,7 @@ describe 'PricesApi' do
|
|
|
51
51
|
# @param [Hash] opts the optional parameters
|
|
52
52
|
# @option opts [Integer] :limit How many items to return at one time (max 100)
|
|
53
53
|
# @option opts [String] :last_key The key to be used in pagination to say what the last key of the previous page was
|
|
54
|
-
# @return [
|
|
54
|
+
# @return [InlineResponse20011]
|
|
55
55
|
describe 'list_price test' do
|
|
56
56
|
it 'should work' do
|
|
57
57
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
@@ -3,22 +3,22 @@
|
|
|
3
3
|
|
|
4
4
|
#The REST API provided by BillaBear
|
|
5
5
|
|
|
6
|
-
OpenAPI spec version: 1.
|
|
6
|
+
OpenAPI spec version: 1.1.0
|
|
7
7
|
Contact: support@billabear.com
|
|
8
8
|
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
|
9
|
-
Swagger Codegen version: 3.0.
|
|
9
|
+
Swagger Codegen version: 3.0.66
|
|
10
10
|
=end
|
|
11
11
|
|
|
12
12
|
require 'spec_helper'
|
|
13
13
|
require 'json'
|
|
14
14
|
|
|
15
|
-
# Unit tests for
|
|
15
|
+
# Unit tests for Billabear::ProductsApi
|
|
16
16
|
# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen)
|
|
17
17
|
# Please update as you see appropriate
|
|
18
18
|
describe 'ProductsApi' do
|
|
19
19
|
before do
|
|
20
20
|
# run before each test
|
|
21
|
-
@instance =
|
|
21
|
+
@instance = Billabear::ProductsApi.new
|
|
22
22
|
end
|
|
23
23
|
|
|
24
24
|
after do
|
|
@@ -27,7 +27,7 @@ describe 'ProductsApi' do
|
|
|
27
27
|
|
|
28
28
|
describe 'test an instance of ProductsApi' do
|
|
29
29
|
it 'should create an instance of ProductsApi' do
|
|
30
|
-
expect(@instance).to be_instance_of(
|
|
30
|
+
expect(@instance).to be_instance_of(Billabear::ProductsApi)
|
|
31
31
|
end
|
|
32
32
|
end
|
|
33
33
|
|
|
@@ -36,7 +36,7 @@ describe 'ProductsApi' do
|
|
|
36
36
|
# Create a product
|
|
37
37
|
# @param body
|
|
38
38
|
# @param [Hash] opts the optional parameters
|
|
39
|
-
# @return [
|
|
39
|
+
# @return [nil]
|
|
40
40
|
describe 'create_product test' do
|
|
41
41
|
it 'should work' do
|
|
42
42
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
@@ -50,7 +50,7 @@ describe 'ProductsApi' do
|
|
|
50
50
|
# @option opts [Integer] :limit How many items to return at one time (max 100)
|
|
51
51
|
# @option opts [String] :last_key The key to be used in pagination to say what the last key of the previous page was
|
|
52
52
|
# @option opts [String] :name The name to search for
|
|
53
|
-
# @return [
|
|
53
|
+
# @return [InlineResponse20010]
|
|
54
54
|
describe 'list_product test' do
|
|
55
55
|
it 'should work' do
|
|
56
56
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
@@ -3,22 +3,22 @@
|
|
|
3
3
|
|
|
4
4
|
#The REST API provided by BillaBear
|
|
5
5
|
|
|
6
|
-
OpenAPI spec version: 1.
|
|
6
|
+
OpenAPI spec version: 1.1.0
|
|
7
7
|
Contact: support@billabear.com
|
|
8
8
|
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
|
9
|
-
Swagger Codegen version: 3.0.
|
|
9
|
+
Swagger Codegen version: 3.0.66
|
|
10
10
|
=end
|
|
11
11
|
|
|
12
12
|
require 'spec_helper'
|
|
13
13
|
require 'json'
|
|
14
14
|
|
|
15
|
-
# Unit tests for
|
|
15
|
+
# Unit tests for Billabear::ReceiptApi
|
|
16
16
|
# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen)
|
|
17
17
|
# Please update as you see appropriate
|
|
18
18
|
describe 'ReceiptApi' do
|
|
19
19
|
before do
|
|
20
20
|
# run before each test
|
|
21
|
-
@instance =
|
|
21
|
+
@instance = Billabear::ReceiptApi.new
|
|
22
22
|
end
|
|
23
23
|
|
|
24
24
|
after do
|
|
@@ -27,7 +27,7 @@ describe 'ReceiptApi' do
|
|
|
27
27
|
|
|
28
28
|
describe 'test an instance of ReceiptApi' do
|
|
29
29
|
it 'should create an instance of ReceiptApi' do
|
|
30
|
-
expect(@instance).to be_instance_of(
|
|
30
|
+
expect(@instance).to be_instance_of(Billabear::ReceiptApi)
|
|
31
31
|
end
|
|
32
32
|
end
|
|
33
33
|
|
|
@@ -3,22 +3,22 @@
|
|
|
3
3
|
|
|
4
4
|
#The REST API provided by BillaBear
|
|
5
5
|
|
|
6
|
-
OpenAPI spec version: 1.
|
|
6
|
+
OpenAPI spec version: 1.1.0
|
|
7
7
|
Contact: support@billabear.com
|
|
8
8
|
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
|
9
|
-
Swagger Codegen version: 3.0.
|
|
9
|
+
Swagger Codegen version: 3.0.66
|
|
10
10
|
=end
|
|
11
11
|
|
|
12
12
|
require 'spec_helper'
|
|
13
13
|
require 'json'
|
|
14
14
|
|
|
15
|
-
# Unit tests for
|
|
15
|
+
# Unit tests for Billabear::RefundsApi
|
|
16
16
|
# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen)
|
|
17
17
|
# Please update as you see appropriate
|
|
18
18
|
describe 'RefundsApi' do
|
|
19
19
|
before do
|
|
20
20
|
# run before each test
|
|
21
|
-
@instance =
|
|
21
|
+
@instance = Billabear::RefundsApi.new
|
|
22
22
|
end
|
|
23
23
|
|
|
24
24
|
after do
|
|
@@ -27,7 +27,7 @@ describe 'RefundsApi' do
|
|
|
27
27
|
|
|
28
28
|
describe 'test an instance of RefundsApi' do
|
|
29
29
|
it 'should create an instance of RefundsApi' do
|
|
30
|
-
expect(@instance).to be_instance_of(
|
|
30
|
+
expect(@instance).to be_instance_of(Billabear::RefundsApi)
|
|
31
31
|
end
|
|
32
32
|
end
|
|
33
33
|
|
|
@@ -39,7 +39,7 @@ describe 'RefundsApi' do
|
|
|
39
39
|
# @option opts [Integer] :limit How many items to return at one time (max 100)
|
|
40
40
|
# @option opts [String] :last_key The key to be used in pagination to say what the last key of the previous page was
|
|
41
41
|
# @option opts [String] :name The name to search for
|
|
42
|
-
# @return [
|
|
42
|
+
# @return [InlineResponse2003]
|
|
43
43
|
describe 'get_refunds_for_customer test' do
|
|
44
44
|
it 'should work' do
|
|
45
45
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
@@ -53,7 +53,7 @@ describe 'RefundsApi' do
|
|
|
53
53
|
# @option opts [Integer] :limit How many items to return at one time (max 100)
|
|
54
54
|
# @option opts [String] :last_key The key to be used in pagination to say what the last key of the previous page was
|
|
55
55
|
# @option opts [String] :name The name to search for
|
|
56
|
-
# @return [
|
|
56
|
+
# @return [InlineResponse2003]
|
|
57
57
|
describe 'list_refund test' do
|
|
58
58
|
it 'should work' do
|
|
59
59
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
@@ -3,22 +3,22 @@
|
|
|
3
3
|
|
|
4
4
|
#The REST API provided by BillaBear
|
|
5
5
|
|
|
6
|
-
OpenAPI spec version: 1.
|
|
6
|
+
OpenAPI spec version: 1.1.0
|
|
7
7
|
Contact: support@billabear.com
|
|
8
8
|
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
|
9
|
-
Swagger Codegen version: 3.0.
|
|
9
|
+
Swagger Codegen version: 3.0.66
|
|
10
10
|
=end
|
|
11
11
|
|
|
12
12
|
require 'spec_helper'
|
|
13
13
|
require 'json'
|
|
14
14
|
|
|
15
|
-
# Unit tests for
|
|
15
|
+
# Unit tests for Billabear::SubscriptionsApi
|
|
16
16
|
# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen)
|
|
17
17
|
# Please update as you see appropriate
|
|
18
18
|
describe 'SubscriptionsApi' do
|
|
19
19
|
before do
|
|
20
20
|
# run before each test
|
|
21
|
-
@instance =
|
|
21
|
+
@instance = Billabear::SubscriptionsApi.new
|
|
22
22
|
end
|
|
23
23
|
|
|
24
24
|
after do
|
|
@@ -27,7 +27,7 @@ describe 'SubscriptionsApi' do
|
|
|
27
27
|
|
|
28
28
|
describe 'test an instance of SubscriptionsApi' do
|
|
29
29
|
it 'should create an instance of SubscriptionsApi' do
|
|
30
|
-
expect(@instance).to be_instance_of(
|
|
30
|
+
expect(@instance).to be_instance_of(Billabear::SubscriptionsApi)
|
|
31
31
|
end
|
|
32
32
|
end
|
|
33
33
|
|
|
@@ -37,7 +37,7 @@ describe 'SubscriptionsApi' do
|
|
|
37
37
|
# @param body
|
|
38
38
|
# @param subscription_id The id of the subscription to retrieve
|
|
39
39
|
# @param [Hash] opts the optional parameters
|
|
40
|
-
# @return [
|
|
40
|
+
# @return [InlineResponse20013]
|
|
41
41
|
describe 'add_seats_subscriptions test' do
|
|
42
42
|
it 'should work' do
|
|
43
43
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
@@ -50,7 +50,7 @@ describe 'SubscriptionsApi' do
|
|
|
50
50
|
# @param body
|
|
51
51
|
# @param subscription_id The id of the subscription to retrieve
|
|
52
52
|
# @param [Hash] opts the optional parameters
|
|
53
|
-
# @return [
|
|
53
|
+
# @return [nil]
|
|
54
54
|
describe 'cancel_subscription test' do
|
|
55
55
|
it 'should work' do
|
|
56
56
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
@@ -63,7 +63,7 @@ describe 'SubscriptionsApi' do
|
|
|
63
63
|
# @param body
|
|
64
64
|
# @param subscription_id The id of the subscription to retrieve
|
|
65
65
|
# @param [Hash] opts the optional parameters
|
|
66
|
-
# @return [
|
|
66
|
+
# @return [InlineResponse20013]
|
|
67
67
|
describe 'change_subscription_price test' do
|
|
68
68
|
it 'should work' do
|
|
69
69
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
@@ -114,7 +114,7 @@ describe 'SubscriptionsApi' do
|
|
|
114
114
|
# List all Active customer subscriptions
|
|
115
115
|
# @param customer_id The id of the customer to retrieve
|
|
116
116
|
# @param [Hash] opts the optional parameters
|
|
117
|
-
# @return [
|
|
117
|
+
# @return [InlineResponse2008]
|
|
118
118
|
describe 'get_active_for_customer test' do
|
|
119
119
|
it 'should work' do
|
|
120
120
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
@@ -126,7 +126,7 @@ describe 'SubscriptionsApi' do
|
|
|
126
126
|
# List all customer subscriptions<br><br><strong>Since 1.1</strong>
|
|
127
127
|
# @param customer_id The id of the customer to retrieve
|
|
128
128
|
# @param [Hash] opts the optional parameters
|
|
129
|
-
# @return [
|
|
129
|
+
# @return [InlineResponse2008]
|
|
130
130
|
describe 'get_for_customer test' do
|
|
131
131
|
it 'should work' do
|
|
132
132
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
@@ -139,7 +139,7 @@ describe 'SubscriptionsApi' do
|
|
|
139
139
|
# @param [Hash] opts the optional parameters
|
|
140
140
|
# @option opts [Integer] :limit How many items to return at one time (max 100)
|
|
141
141
|
# @option opts [String] :last_key The key to be used in pagination to say what the last key of the previous page was
|
|
142
|
-
# @return [
|
|
142
|
+
# @return [InlineResponse20012]
|
|
143
143
|
describe 'list_subscription_plans test' do
|
|
144
144
|
it 'should work' do
|
|
145
145
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
@@ -152,7 +152,7 @@ describe 'SubscriptionsApi' do
|
|
|
152
152
|
# @param [Hash] opts the optional parameters
|
|
153
153
|
# @option opts [Integer] :limit How many items to return at one time (max 100)
|
|
154
154
|
# @option opts [String] :last_key The key to be used in pagination to say what the last key of the previous page was
|
|
155
|
-
# @return [
|
|
155
|
+
# @return [InlineResponse2008]
|
|
156
156
|
describe 'list_subscriptions test' do
|
|
157
157
|
it 'should work' do
|
|
158
158
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
@@ -165,7 +165,7 @@ describe 'SubscriptionsApi' do
|
|
|
165
165
|
# @param body
|
|
166
166
|
# @param subscription_id The id of the subscription to retrieve
|
|
167
167
|
# @param [Hash] opts the optional parameters
|
|
168
|
-
# @return [
|
|
168
|
+
# @return [InlineResponse20013]
|
|
169
169
|
describe 'remove_seats_subscriptions test' do
|
|
170
170
|
it 'should work' do
|
|
171
171
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
@@ -0,0 +1,96 @@
|
|
|
1
|
+
=begin
|
|
2
|
+
#BillaBear
|
|
3
|
+
|
|
4
|
+
#The REST API provided by BillaBear
|
|
5
|
+
|
|
6
|
+
OpenAPI spec version: 1.1.0
|
|
7
|
+
Contact: support@billabear.com
|
|
8
|
+
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
|
9
|
+
Swagger Codegen version: 3.0.66
|
|
10
|
+
=end
|
|
11
|
+
|
|
12
|
+
require 'spec_helper'
|
|
13
|
+
require 'json'
|
|
14
|
+
|
|
15
|
+
# Unit tests for Billabear::UsageApi
|
|
16
|
+
# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen)
|
|
17
|
+
# Please update as you see appropriate
|
|
18
|
+
describe 'UsageApi' do
|
|
19
|
+
before do
|
|
20
|
+
# run before each test
|
|
21
|
+
@instance = Billabear::UsageApi.new
|
|
22
|
+
end
|
|
23
|
+
|
|
24
|
+
after do
|
|
25
|
+
# run after each test
|
|
26
|
+
end
|
|
27
|
+
|
|
28
|
+
describe 'test an instance of UsageApi' do
|
|
29
|
+
it 'should create an instance of UsageApi' do
|
|
30
|
+
expect(@instance).to be_instance_of(Billabear::UsageApi)
|
|
31
|
+
end
|
|
32
|
+
end
|
|
33
|
+
|
|
34
|
+
# unit tests for create_customer_usage_limit
|
|
35
|
+
# Create Usage Limit
|
|
36
|
+
# Create Usage Limit for the custoemr
|
|
37
|
+
# @param body
|
|
38
|
+
# @param customer_id The id of the customer to retrieve
|
|
39
|
+
# @param [Hash] opts the optional parameters
|
|
40
|
+
# @return [UsageLimit]
|
|
41
|
+
describe 'create_customer_usage_limit test' do
|
|
42
|
+
it 'should work' do
|
|
43
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
44
|
+
end
|
|
45
|
+
end
|
|
46
|
+
|
|
47
|
+
# unit tests for create_event
|
|
48
|
+
# Create Event
|
|
49
|
+
# Creates an event that is used for usage billing
|
|
50
|
+
# @param body
|
|
51
|
+
# @param [Hash] opts the optional parameters
|
|
52
|
+
# @return [nil]
|
|
53
|
+
describe 'create_event test' do
|
|
54
|
+
it 'should work' do
|
|
55
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
56
|
+
end
|
|
57
|
+
end
|
|
58
|
+
|
|
59
|
+
# unit tests for customer_customer_id_uasge_limit_limit_id_delete
|
|
60
|
+
# Delete Usage Limit
|
|
61
|
+
# Delete Usage Limit for the custoemr
|
|
62
|
+
# @param customer_id The id of the customer to retrieve
|
|
63
|
+
# @param usage_limit_id The id of the usage limit
|
|
64
|
+
# @param [Hash] opts the optional parameters
|
|
65
|
+
# @return [nil]
|
|
66
|
+
describe 'customer_customer_id_uasge_limit_limit_id_delete test' do
|
|
67
|
+
it 'should work' do
|
|
68
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
69
|
+
end
|
|
70
|
+
end
|
|
71
|
+
|
|
72
|
+
# unit tests for get_customer_costs
|
|
73
|
+
# Usage Cost Estimate
|
|
74
|
+
# The estimated costs from usage based billing for a customer
|
|
75
|
+
# @param customer_id The id of the customer to retrieve
|
|
76
|
+
# @param [Hash] opts the optional parameters
|
|
77
|
+
# @return [InlineResponse2001]
|
|
78
|
+
describe 'get_customer_costs test' do
|
|
79
|
+
it 'should work' do
|
|
80
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
81
|
+
end
|
|
82
|
+
end
|
|
83
|
+
|
|
84
|
+
# unit tests for get_customer_usage_limits_by_id
|
|
85
|
+
# Fetch Customer Usage Limits
|
|
86
|
+
# Usage Limits for a specific customer
|
|
87
|
+
# @param customer_id The id of the customer to retrieve
|
|
88
|
+
# @param [Hash] opts the optional parameters
|
|
89
|
+
# @return [InlineResponse2005]
|
|
90
|
+
describe 'get_customer_usage_limits_by_id test' do
|
|
91
|
+
it 'should work' do
|
|
92
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
93
|
+
end
|
|
94
|
+
end
|
|
95
|
+
|
|
96
|
+
end
|