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
data/spec/models/feature_spec.rb
CHANGED
|
@@ -3,23 +3,23 @@
|
|
|
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
|
require 'date'
|
|
15
15
|
|
|
16
|
-
# Unit tests for
|
|
16
|
+
# Unit tests for Billabear::Feature
|
|
17
17
|
# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen)
|
|
18
18
|
# Please update as you see appropriate
|
|
19
19
|
describe 'Feature' do
|
|
20
20
|
before do
|
|
21
21
|
# run before each test
|
|
22
|
-
@instance =
|
|
22
|
+
@instance = Billabear::Feature.new
|
|
23
23
|
end
|
|
24
24
|
|
|
25
25
|
after do
|
|
@@ -28,7 +28,7 @@ describe 'Feature' do
|
|
|
28
28
|
|
|
29
29
|
describe 'test an instance of Feature' do
|
|
30
30
|
it 'should create an instance of Feature' do
|
|
31
|
-
expect(@instance).to be_instance_of(
|
|
31
|
+
expect(@instance).to be_instance_of(Billabear::Feature)
|
|
32
32
|
end
|
|
33
33
|
end
|
|
34
34
|
describe 'test attribute "id"' do
|
|
@@ -3,23 +3,23 @@
|
|
|
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
|
require 'date'
|
|
15
15
|
|
|
16
|
-
# Unit tests for
|
|
16
|
+
# Unit tests for Billabear::FrontendToken
|
|
17
17
|
# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen)
|
|
18
18
|
# Please update as you see appropriate
|
|
19
19
|
describe 'FrontendToken' do
|
|
20
20
|
before do
|
|
21
21
|
# run before each test
|
|
22
|
-
@instance =
|
|
22
|
+
@instance = Billabear::FrontendToken.new
|
|
23
23
|
end
|
|
24
24
|
|
|
25
25
|
after do
|
|
@@ -28,7 +28,7 @@ describe 'FrontendToken' do
|
|
|
28
28
|
|
|
29
29
|
describe 'test an instance of FrontendToken' do
|
|
30
30
|
it 'should create an instance of FrontendToken' do
|
|
31
|
-
expect(@instance).to be_instance_of(
|
|
31
|
+
expect(@instance).to be_instance_of(Billabear::FrontendToken)
|
|
32
32
|
end
|
|
33
33
|
end
|
|
34
34
|
describe 'test attribute "token"' do
|
|
@@ -3,23 +3,23 @@
|
|
|
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
|
require 'date'
|
|
15
15
|
|
|
16
|
-
# Unit tests for
|
|
16
|
+
# Unit tests for Billabear::InlineResponse20010
|
|
17
17
|
# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen)
|
|
18
18
|
# Please update as you see appropriate
|
|
19
19
|
describe 'InlineResponse20010' do
|
|
20
20
|
before do
|
|
21
21
|
# run before each test
|
|
22
|
-
@instance =
|
|
22
|
+
@instance = Billabear::InlineResponse20010.new
|
|
23
23
|
end
|
|
24
24
|
|
|
25
25
|
after do
|
|
@@ -28,7 +28,7 @@ describe 'InlineResponse20010' do
|
|
|
28
28
|
|
|
29
29
|
describe 'test an instance of InlineResponse20010' do
|
|
30
30
|
it 'should create an instance of InlineResponse20010' do
|
|
31
|
-
expect(@instance).to be_instance_of(
|
|
31
|
+
expect(@instance).to be_instance_of(Billabear::InlineResponse20010)
|
|
32
32
|
end
|
|
33
33
|
end
|
|
34
34
|
describe 'test attribute "data"' do
|
|
@@ -3,23 +3,23 @@
|
|
|
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
|
require 'date'
|
|
15
15
|
|
|
16
|
-
# Unit tests for
|
|
16
|
+
# Unit tests for Billabear::InlineResponse20011
|
|
17
17
|
# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen)
|
|
18
18
|
# Please update as you see appropriate
|
|
19
19
|
describe 'InlineResponse20011' do
|
|
20
20
|
before do
|
|
21
21
|
# run before each test
|
|
22
|
-
@instance =
|
|
22
|
+
@instance = Billabear::InlineResponse20011.new
|
|
23
23
|
end
|
|
24
24
|
|
|
25
25
|
after do
|
|
@@ -28,10 +28,22 @@ describe 'InlineResponse20011' do
|
|
|
28
28
|
|
|
29
29
|
describe 'test an instance of InlineResponse20011' do
|
|
30
30
|
it 'should create an instance of InlineResponse20011' do
|
|
31
|
-
expect(@instance).to be_instance_of(
|
|
31
|
+
expect(@instance).to be_instance_of(Billabear::InlineResponse20011)
|
|
32
32
|
end
|
|
33
33
|
end
|
|
34
|
-
describe 'test attribute "
|
|
34
|
+
describe 'test attribute "data"' do
|
|
35
|
+
it 'should work' do
|
|
36
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
37
|
+
end
|
|
38
|
+
end
|
|
39
|
+
|
|
40
|
+
describe 'test attribute "has_more"' do
|
|
41
|
+
it 'should work' do
|
|
42
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
43
|
+
end
|
|
44
|
+
end
|
|
45
|
+
|
|
46
|
+
describe 'test attribute "last_key"' do
|
|
35
47
|
it 'should work' do
|
|
36
48
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
37
49
|
end
|
|
@@ -3,23 +3,23 @@
|
|
|
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
|
require 'date'
|
|
15
15
|
|
|
16
|
-
# Unit tests for
|
|
16
|
+
# Unit tests for Billabear::InlineResponse20012
|
|
17
17
|
# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen)
|
|
18
18
|
# Please update as you see appropriate
|
|
19
19
|
describe 'InlineResponse20012' do
|
|
20
20
|
before do
|
|
21
21
|
# run before each test
|
|
22
|
-
@instance =
|
|
22
|
+
@instance = Billabear::InlineResponse20012.new
|
|
23
23
|
end
|
|
24
24
|
|
|
25
25
|
after do
|
|
@@ -28,22 +28,24 @@ describe 'InlineResponse20012' do
|
|
|
28
28
|
|
|
29
29
|
describe 'test an instance of InlineResponse20012' do
|
|
30
30
|
it 'should create an instance of InlineResponse20012' do
|
|
31
|
-
expect(@instance).to be_instance_of(
|
|
31
|
+
expect(@instance).to be_instance_of(Billabear::InlineResponse20012)
|
|
32
32
|
end
|
|
33
33
|
end
|
|
34
|
-
describe 'test attribute "
|
|
34
|
+
describe 'test attribute "data"' do
|
|
35
35
|
it 'should work' do
|
|
36
36
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
37
37
|
end
|
|
38
38
|
end
|
|
39
39
|
|
|
40
|
-
describe 'test attribute "
|
|
40
|
+
describe 'test attribute "has_more"' do
|
|
41
|
+
it 'should work' do
|
|
42
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
43
|
+
end
|
|
44
|
+
end
|
|
45
|
+
|
|
46
|
+
describe 'test attribute "last_key"' do
|
|
41
47
|
it 'should work' do
|
|
42
48
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
43
|
-
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["expired_card", "invalid_details", "fraud", "authentication_required", "invalid_card", "general_decline", "contact_provider", "lack_of_funds"])
|
|
44
|
-
# validator.allowable_values.each do |value|
|
|
45
|
-
# expect { @instance.failure_reason = value }.not_to raise_error
|
|
46
|
-
# end
|
|
47
49
|
end
|
|
48
50
|
end
|
|
49
51
|
|
|
@@ -0,0 +1,40 @@
|
|
|
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
|
+
require 'date'
|
|
15
|
+
|
|
16
|
+
# Unit tests for Billabear::InlineResponse20013
|
|
17
|
+
# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen)
|
|
18
|
+
# Please update as you see appropriate
|
|
19
|
+
describe 'InlineResponse20013' do
|
|
20
|
+
before do
|
|
21
|
+
# run before each test
|
|
22
|
+
@instance = Billabear::InlineResponse20013.new
|
|
23
|
+
end
|
|
24
|
+
|
|
25
|
+
after do
|
|
26
|
+
# run after each test
|
|
27
|
+
end
|
|
28
|
+
|
|
29
|
+
describe 'test an instance of InlineResponse20013' do
|
|
30
|
+
it 'should create an instance of InlineResponse20013' do
|
|
31
|
+
expect(@instance).to be_instance_of(Billabear::InlineResponse20013)
|
|
32
|
+
end
|
|
33
|
+
end
|
|
34
|
+
describe 'test attribute "success"' do
|
|
35
|
+
it 'should work' do
|
|
36
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
37
|
+
end
|
|
38
|
+
end
|
|
39
|
+
|
|
40
|
+
end
|
|
@@ -0,0 +1,50 @@
|
|
|
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
|
+
require 'date'
|
|
15
|
+
|
|
16
|
+
# Unit tests for Billabear::InlineResponse20014
|
|
17
|
+
# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen)
|
|
18
|
+
# Please update as you see appropriate
|
|
19
|
+
describe 'InlineResponse20014' do
|
|
20
|
+
before do
|
|
21
|
+
# run before each test
|
|
22
|
+
@instance = Billabear::InlineResponse20014.new
|
|
23
|
+
end
|
|
24
|
+
|
|
25
|
+
after do
|
|
26
|
+
# run after each test
|
|
27
|
+
end
|
|
28
|
+
|
|
29
|
+
describe 'test an instance of InlineResponse20014' do
|
|
30
|
+
it 'should create an instance of InlineResponse20014' do
|
|
31
|
+
expect(@instance).to be_instance_of(Billabear::InlineResponse20014)
|
|
32
|
+
end
|
|
33
|
+
end
|
|
34
|
+
describe 'test attribute "paid"' do
|
|
35
|
+
it 'should work' do
|
|
36
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
37
|
+
end
|
|
38
|
+
end
|
|
39
|
+
|
|
40
|
+
describe 'test attribute "failure_reason"' do
|
|
41
|
+
it 'should work' do
|
|
42
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
43
|
+
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["expired_card", "invalid_details", "fraud", "authentication_required", "invalid_card", "general_decline", "contact_provider", "lack_of_funds"])
|
|
44
|
+
# validator.allowable_values.each do |value|
|
|
45
|
+
# expect { @instance.failure_reason = value }.not_to raise_error
|
|
46
|
+
# end
|
|
47
|
+
end
|
|
48
|
+
end
|
|
49
|
+
|
|
50
|
+
end
|
|
@@ -3,23 +3,23 @@
|
|
|
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
|
require 'date'
|
|
15
15
|
|
|
16
|
-
# Unit tests for
|
|
16
|
+
# Unit tests for Billabear::InlineResponse2001
|
|
17
17
|
# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen)
|
|
18
18
|
# Please update as you see appropriate
|
|
19
19
|
describe 'InlineResponse2001' do
|
|
20
20
|
before do
|
|
21
21
|
# run before each test
|
|
22
|
-
@instance =
|
|
22
|
+
@instance = Billabear::InlineResponse2001.new
|
|
23
23
|
end
|
|
24
24
|
|
|
25
25
|
after do
|
|
@@ -28,22 +28,16 @@ describe 'InlineResponse2001' do
|
|
|
28
28
|
|
|
29
29
|
describe 'test an instance of InlineResponse2001' do
|
|
30
30
|
it 'should create an instance of InlineResponse2001' do
|
|
31
|
-
expect(@instance).to be_instance_of(
|
|
31
|
+
expect(@instance).to be_instance_of(Billabear::InlineResponse2001)
|
|
32
32
|
end
|
|
33
33
|
end
|
|
34
|
-
describe 'test attribute "
|
|
34
|
+
describe 'test attribute "costs"' do
|
|
35
35
|
it 'should work' do
|
|
36
36
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
37
37
|
end
|
|
38
38
|
end
|
|
39
39
|
|
|
40
|
-
describe 'test attribute "
|
|
41
|
-
it 'should work' do
|
|
42
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
43
|
-
end
|
|
44
|
-
end
|
|
45
|
-
|
|
46
|
-
describe 'test attribute "user_count"' do
|
|
40
|
+
describe 'test attribute "cost"' do
|
|
47
41
|
it 'should work' do
|
|
48
42
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
49
43
|
end
|
|
@@ -3,23 +3,23 @@
|
|
|
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
|
require 'date'
|
|
15
15
|
|
|
16
|
-
# Unit tests for
|
|
16
|
+
# Unit tests for Billabear::InlineResponse2002
|
|
17
17
|
# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen)
|
|
18
18
|
# Please update as you see appropriate
|
|
19
19
|
describe 'InlineResponse2002' do
|
|
20
20
|
before do
|
|
21
21
|
# run before each test
|
|
22
|
-
@instance =
|
|
22
|
+
@instance = Billabear::InlineResponse2002.new
|
|
23
23
|
end
|
|
24
24
|
|
|
25
25
|
after do
|
|
@@ -28,22 +28,22 @@ describe 'InlineResponse2002' do
|
|
|
28
28
|
|
|
29
29
|
describe 'test an instance of InlineResponse2002' do
|
|
30
30
|
it 'should create an instance of InlineResponse2002' do
|
|
31
|
-
expect(@instance).to be_instance_of(
|
|
31
|
+
expect(@instance).to be_instance_of(Billabear::InlineResponse2002)
|
|
32
32
|
end
|
|
33
33
|
end
|
|
34
|
-
describe 'test attribute "
|
|
34
|
+
describe 'test attribute "limits"' do
|
|
35
35
|
it 'should work' do
|
|
36
36
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
37
37
|
end
|
|
38
38
|
end
|
|
39
39
|
|
|
40
|
-
describe 'test attribute "
|
|
40
|
+
describe 'test attribute "features"' do
|
|
41
41
|
it 'should work' do
|
|
42
42
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
43
43
|
end
|
|
44
44
|
end
|
|
45
45
|
|
|
46
|
-
describe 'test attribute "
|
|
46
|
+
describe 'test attribute "user_count"' do
|
|
47
47
|
it 'should work' do
|
|
48
48
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
49
49
|
end
|
|
@@ -3,23 +3,23 @@
|
|
|
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
|
require 'date'
|
|
15
15
|
|
|
16
|
-
# Unit tests for
|
|
16
|
+
# Unit tests for Billabear::InlineResponse2003
|
|
17
17
|
# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen)
|
|
18
18
|
# Please update as you see appropriate
|
|
19
19
|
describe 'InlineResponse2003' do
|
|
20
20
|
before do
|
|
21
21
|
# run before each test
|
|
22
|
-
@instance =
|
|
22
|
+
@instance = Billabear::InlineResponse2003.new
|
|
23
23
|
end
|
|
24
24
|
|
|
25
25
|
after do
|
|
@@ -28,7 +28,7 @@ describe 'InlineResponse2003' do
|
|
|
28
28
|
|
|
29
29
|
describe 'test an instance of InlineResponse2003' do
|
|
30
30
|
it 'should create an instance of InlineResponse2003' do
|
|
31
|
-
expect(@instance).to be_instance_of(
|
|
31
|
+
expect(@instance).to be_instance_of(Billabear::InlineResponse2003)
|
|
32
32
|
end
|
|
33
33
|
end
|
|
34
34
|
describe 'test attribute "data"' do
|
|
@@ -3,23 +3,23 @@
|
|
|
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
|
require 'date'
|
|
15
15
|
|
|
16
|
-
# Unit tests for
|
|
16
|
+
# Unit tests for Billabear::InlineResponse2004
|
|
17
17
|
# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen)
|
|
18
18
|
# Please update as you see appropriate
|
|
19
19
|
describe 'InlineResponse2004' do
|
|
20
20
|
before do
|
|
21
21
|
# run before each test
|
|
22
|
-
@instance =
|
|
22
|
+
@instance = Billabear::InlineResponse2004.new
|
|
23
23
|
end
|
|
24
24
|
|
|
25
25
|
after do
|
|
@@ -28,7 +28,7 @@ describe 'InlineResponse2004' do
|
|
|
28
28
|
|
|
29
29
|
describe 'test an instance of InlineResponse2004' do
|
|
30
30
|
it 'should create an instance of InlineResponse2004' do
|
|
31
|
-
expect(@instance).to be_instance_of(
|
|
31
|
+
expect(@instance).to be_instance_of(Billabear::InlineResponse2004)
|
|
32
32
|
end
|
|
33
33
|
end
|
|
34
34
|
describe 'test attribute "data"' do
|
|
@@ -3,23 +3,23 @@
|
|
|
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
|
require 'date'
|
|
15
15
|
|
|
16
|
-
# Unit tests for
|
|
16
|
+
# Unit tests for Billabear::InlineResponse2005
|
|
17
17
|
# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen)
|
|
18
18
|
# Please update as you see appropriate
|
|
19
19
|
describe 'InlineResponse2005' do
|
|
20
20
|
before do
|
|
21
21
|
# run before each test
|
|
22
|
-
@instance =
|
|
22
|
+
@instance = Billabear::InlineResponse2005.new
|
|
23
23
|
end
|
|
24
24
|
|
|
25
25
|
after do
|
|
@@ -28,7 +28,7 @@ describe 'InlineResponse2005' do
|
|
|
28
28
|
|
|
29
29
|
describe 'test an instance of InlineResponse2005' do
|
|
30
30
|
it 'should create an instance of InlineResponse2005' do
|
|
31
|
-
expect(@instance).to be_instance_of(
|
|
31
|
+
expect(@instance).to be_instance_of(Billabear::InlineResponse2005)
|
|
32
32
|
end
|
|
33
33
|
end
|
|
34
34
|
describe 'test attribute "data"' do
|
|
@@ -3,23 +3,23 @@
|
|
|
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
|
require 'date'
|
|
15
15
|
|
|
16
|
-
# Unit tests for
|
|
16
|
+
# Unit tests for Billabear::InlineResponse2006
|
|
17
17
|
# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen)
|
|
18
18
|
# Please update as you see appropriate
|
|
19
19
|
describe 'InlineResponse2006' do
|
|
20
20
|
before do
|
|
21
21
|
# run before each test
|
|
22
|
-
@instance =
|
|
22
|
+
@instance = Billabear::InlineResponse2006.new
|
|
23
23
|
end
|
|
24
24
|
|
|
25
25
|
after do
|
|
@@ -28,7 +28,7 @@ describe 'InlineResponse2006' do
|
|
|
28
28
|
|
|
29
29
|
describe 'test an instance of InlineResponse2006' do
|
|
30
30
|
it 'should create an instance of InlineResponse2006' do
|
|
31
|
-
expect(@instance).to be_instance_of(
|
|
31
|
+
expect(@instance).to be_instance_of(Billabear::InlineResponse2006)
|
|
32
32
|
end
|
|
33
33
|
end
|
|
34
34
|
describe 'test attribute "data"' do
|
|
@@ -3,23 +3,23 @@
|
|
|
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
|
require 'date'
|
|
15
15
|
|
|
16
|
-
# Unit tests for
|
|
16
|
+
# Unit tests for Billabear::InlineResponse2007
|
|
17
17
|
# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen)
|
|
18
18
|
# Please update as you see appropriate
|
|
19
19
|
describe 'InlineResponse2007' do
|
|
20
20
|
before do
|
|
21
21
|
# run before each test
|
|
22
|
-
@instance =
|
|
22
|
+
@instance = Billabear::InlineResponse2007.new
|
|
23
23
|
end
|
|
24
24
|
|
|
25
25
|
after do
|
|
@@ -28,7 +28,7 @@ describe 'InlineResponse2007' do
|
|
|
28
28
|
|
|
29
29
|
describe 'test an instance of InlineResponse2007' do
|
|
30
30
|
it 'should create an instance of InlineResponse2007' do
|
|
31
|
-
expect(@instance).to be_instance_of(
|
|
31
|
+
expect(@instance).to be_instance_of(Billabear::InlineResponse2007)
|
|
32
32
|
end
|
|
33
33
|
end
|
|
34
34
|
describe 'test attribute "data"' do
|
|
@@ -3,23 +3,23 @@
|
|
|
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
|
require 'date'
|
|
15
15
|
|
|
16
|
-
# Unit tests for
|
|
16
|
+
# Unit tests for Billabear::InlineResponse2008
|
|
17
17
|
# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen)
|
|
18
18
|
# Please update as you see appropriate
|
|
19
19
|
describe 'InlineResponse2008' do
|
|
20
20
|
before do
|
|
21
21
|
# run before each test
|
|
22
|
-
@instance =
|
|
22
|
+
@instance = Billabear::InlineResponse2008.new
|
|
23
23
|
end
|
|
24
24
|
|
|
25
25
|
after do
|
|
@@ -28,7 +28,7 @@ describe 'InlineResponse2008' do
|
|
|
28
28
|
|
|
29
29
|
describe 'test an instance of InlineResponse2008' do
|
|
30
30
|
it 'should create an instance of InlineResponse2008' do
|
|
31
|
-
expect(@instance).to be_instance_of(
|
|
31
|
+
expect(@instance).to be_instance_of(Billabear::InlineResponse2008)
|
|
32
32
|
end
|
|
33
33
|
end
|
|
34
34
|
describe 'test attribute "data"' do
|