square_connect 2.20180712.1.234 → 2.20180712.2.237

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,69 @@
1
+ =begin
2
+ #Square Connect API
3
+
4
+ OpenAPI spec version: 2.0
5
+ Contact: developers@squareup.com
6
+ Generated by: https://github.com/swagger-api/swagger-codegen.git
7
+
8
+ =end
9
+
10
+ require 'spec_helper'
11
+ require 'json'
12
+ require 'date'
13
+
14
+ # Unit tests for SquareConnect::RenewTokenResponse
15
+ # Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen)
16
+ # Please update as you see appropriate
17
+ describe 'RenewTokenResponse' do
18
+ before do
19
+ # run before each test
20
+ @instance = SquareConnect::RenewTokenResponse.new
21
+ end
22
+
23
+ after do
24
+ # run after each test
25
+ end
26
+
27
+ describe 'test an instance of RenewTokenResponse' do
28
+ it 'should create an instact of RenewTokenResponse' do
29
+ expect(@instance).to be_instance_of(SquareConnect::RenewTokenResponse)
30
+ end
31
+ end
32
+ describe 'test attribute "access_token"' do
33
+ it 'should work' do
34
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
35
+ end
36
+ end
37
+
38
+ describe 'test attribute "token_type"' do
39
+ it 'should work' do
40
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
41
+ end
42
+ end
43
+
44
+ describe 'test attribute "expires_at"' do
45
+ it 'should work' do
46
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
47
+ end
48
+ end
49
+
50
+ describe 'test attribute "merchant_id"' do
51
+ it 'should work' do
52
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
53
+ end
54
+ end
55
+
56
+ describe 'test attribute "subscription_id"' do
57
+ it 'should work' do
58
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
59
+ end
60
+ end
61
+
62
+ describe 'test attribute "plan_id"' do
63
+ it 'should work' do
64
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
65
+ end
66
+ end
67
+
68
+ end
69
+
@@ -0,0 +1,51 @@
1
+ =begin
2
+ #Square Connect API
3
+
4
+ OpenAPI spec version: 2.0
5
+ Contact: developers@squareup.com
6
+ Generated by: https://github.com/swagger-api/swagger-codegen.git
7
+
8
+ =end
9
+
10
+ require 'spec_helper'
11
+ require 'json'
12
+ require 'date'
13
+
14
+ # Unit tests for SquareConnect::RevokeTokenRequest
15
+ # Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen)
16
+ # Please update as you see appropriate
17
+ describe 'RevokeTokenRequest' do
18
+ before do
19
+ # run before each test
20
+ @instance = SquareConnect::RevokeTokenRequest.new
21
+ end
22
+
23
+ after do
24
+ # run after each test
25
+ end
26
+
27
+ describe 'test an instance of RevokeTokenRequest' do
28
+ it 'should create an instact of RevokeTokenRequest' do
29
+ expect(@instance).to be_instance_of(SquareConnect::RevokeTokenRequest)
30
+ end
31
+ end
32
+ describe 'test attribute "client_id"' do
33
+ it 'should work' do
34
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
35
+ end
36
+ end
37
+
38
+ describe 'test attribute "access_token"' do
39
+ it 'should work' do
40
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
41
+ end
42
+ end
43
+
44
+ describe 'test attribute "merchant_id"' do
45
+ it 'should work' do
46
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
47
+ end
48
+ end
49
+
50
+ end
51
+
@@ -0,0 +1,39 @@
1
+ =begin
2
+ #Square Connect API
3
+
4
+ OpenAPI spec version: 2.0
5
+ Contact: developers@squareup.com
6
+ Generated by: https://github.com/swagger-api/swagger-codegen.git
7
+
8
+ =end
9
+
10
+ require 'spec_helper'
11
+ require 'json'
12
+ require 'date'
13
+
14
+ # Unit tests for SquareConnect::RevokeTokenResponse
15
+ # Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen)
16
+ # Please update as you see appropriate
17
+ describe 'RevokeTokenResponse' do
18
+ before do
19
+ # run before each test
20
+ @instance = SquareConnect::RevokeTokenResponse.new
21
+ end
22
+
23
+ after do
24
+ # run after each test
25
+ end
26
+
27
+ describe 'test an instance of RevokeTokenResponse' do
28
+ it 'should create an instact of RevokeTokenResponse' do
29
+ expect(@instance).to be_instance_of(SquareConnect::RevokeTokenResponse)
30
+ end
31
+ end
32
+ describe 'test attribute "success"' do
33
+ it 'should work' do
34
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
35
+ end
36
+ end
37
+
38
+ end
39
+
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: square_connect
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.20180712.1.234
4
+ version: 2.20180712.2.237
5
5
  platform: ruby
6
6
  authors:
7
7
  - Square, Inc.
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2018-08-02 00:00:00.000000000 Z
11
+ date: 2018-08-22 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: typhoeus
@@ -317,6 +317,9 @@ files:
317
317
  - docs/LocationsApi.md
318
318
  - docs/MobileAuthorizationApi.md
319
319
  - docs/Money.md
320
+ - docs/OAuthApi.md
321
+ - docs/ObtainTokenRequest.md
322
+ - docs/ObtainTokenResponse.md
320
323
  - docs/Order.md
321
324
  - docs/OrderLineItem.md
322
325
  - docs/OrderLineItemDiscount.md
@@ -331,6 +334,8 @@ files:
331
334
  - docs/RegisterDomainRequest.md
332
335
  - docs/RegisterDomainResponse.md
333
336
  - docs/RegisterDomainResponseStatus.md
337
+ - docs/RenewTokenRequest.md
338
+ - docs/RenewTokenResponse.md
334
339
  - docs/ReportingApi.md
335
340
  - docs/RetrieveCatalogObjectRequest.md
336
341
  - docs/RetrieveCatalogObjectResponse.md
@@ -338,6 +343,8 @@ files:
338
343
  - docs/RetrieveCustomerResponse.md
339
344
  - docs/RetrieveTransactionRequest.md
340
345
  - docs/RetrieveTransactionResponse.md
346
+ - docs/RevokeTokenRequest.md
347
+ - docs/RevokeTokenResponse.md
341
348
  - docs/SearchCatalogObjectsRequest.md
342
349
  - docs/SearchCatalogObjectsResponse.md
343
350
  - docs/SearchCustomersRequest.md
@@ -415,6 +422,7 @@ files:
415
422
  - lib/square_connect/api/customers_api.rb
416
423
  - lib/square_connect/api/locations_api.rb
417
424
  - lib/square_connect/api/mobile_authorization_api.rb
425
+ - lib/square_connect/api/o_auth_api.rb
418
426
  - lib/square_connect/api/orders_api.rb
419
427
  - lib/square_connect/api/reporting_api.rb
420
428
  - lib/square_connect/api/transactions_api.rb
@@ -533,6 +541,8 @@ files:
533
541
  - lib/square_connect/models/location_status.rb
534
542
  - lib/square_connect/models/location_type.rb
535
543
  - lib/square_connect/models/money.rb
544
+ - lib/square_connect/models/obtain_token_request.rb
545
+ - lib/square_connect/models/obtain_token_response.rb
536
546
  - lib/square_connect/models/order.rb
537
547
  - lib/square_connect/models/order_line_item.rb
538
548
  - lib/square_connect/models/order_line_item_discount.rb
@@ -546,12 +556,16 @@ files:
546
556
  - lib/square_connect/models/register_domain_request.rb
547
557
  - lib/square_connect/models/register_domain_response.rb
548
558
  - lib/square_connect/models/register_domain_response_status.rb
559
+ - lib/square_connect/models/renew_token_request.rb
560
+ - lib/square_connect/models/renew_token_response.rb
549
561
  - lib/square_connect/models/retrieve_catalog_object_request.rb
550
562
  - lib/square_connect/models/retrieve_catalog_object_response.rb
551
563
  - lib/square_connect/models/retrieve_customer_request.rb
552
564
  - lib/square_connect/models/retrieve_customer_response.rb
553
565
  - lib/square_connect/models/retrieve_transaction_request.rb
554
566
  - lib/square_connect/models/retrieve_transaction_response.rb
567
+ - lib/square_connect/models/revoke_token_request.rb
568
+ - lib/square_connect/models/revoke_token_response.rb
555
569
  - lib/square_connect/models/search_catalog_objects_request.rb
556
570
  - lib/square_connect/models/search_catalog_objects_response.rb
557
571
  - lib/square_connect/models/search_customers_request.rb
@@ -624,6 +638,7 @@ files:
624
638
  - spec/api/customers_api_spec.rb
625
639
  - spec/api/locations_api_spec.rb
626
640
  - spec/api/mobile_authorization_api_spec.rb
641
+ - spec/api/o_auth_api_spec.rb
627
642
  - spec/api/orders_api_spec.rb
628
643
  - spec/api/reporting_api_spec.rb
629
644
  - spec/api/transactions_api_spec.rb
@@ -741,6 +756,8 @@ files:
741
756
  - spec/models/location_status_spec.rb
742
757
  - spec/models/location_type_spec.rb
743
758
  - spec/models/money_spec.rb
759
+ - spec/models/obtain_token_request_spec.rb
760
+ - spec/models/obtain_token_response_spec.rb
744
761
  - spec/models/order_line_item_discount_scope_spec.rb
745
762
  - spec/models/order_line_item_discount_spec.rb
746
763
  - spec/models/order_line_item_discount_type_spec.rb
@@ -754,12 +771,16 @@ files:
754
771
  - spec/models/register_domain_request_spec.rb
755
772
  - spec/models/register_domain_response_spec.rb
756
773
  - spec/models/register_domain_response_status_spec.rb
774
+ - spec/models/renew_token_request_spec.rb
775
+ - spec/models/renew_token_response_spec.rb
757
776
  - spec/models/retrieve_catalog_object_request_spec.rb
758
777
  - spec/models/retrieve_catalog_object_response_spec.rb
759
778
  - spec/models/retrieve_customer_request_spec.rb
760
779
  - spec/models/retrieve_customer_response_spec.rb
761
780
  - spec/models/retrieve_transaction_request_spec.rb
762
781
  - spec/models/retrieve_transaction_response_spec.rb
782
+ - spec/models/revoke_token_request_spec.rb
783
+ - spec/models/revoke_token_response_spec.rb
763
784
  - spec/models/search_catalog_objects_request_spec.rb
764
785
  - spec/models/search_catalog_objects_response_spec.rb
765
786
  - spec/models/search_customers_request_spec.rb
@@ -859,6 +880,7 @@ test_files:
859
880
  - spec/api/customers_api_spec.rb
860
881
  - spec/api/locations_api_spec.rb
861
882
  - spec/api/mobile_authorization_api_spec.rb
883
+ - spec/api/o_auth_api_spec.rb
862
884
  - spec/api/orders_api_spec.rb
863
885
  - spec/api/reporting_api_spec.rb
864
886
  - spec/api/transactions_api_spec.rb
@@ -976,6 +998,8 @@ test_files:
976
998
  - spec/models/location_status_spec.rb
977
999
  - spec/models/location_type_spec.rb
978
1000
  - spec/models/money_spec.rb
1001
+ - spec/models/obtain_token_request_spec.rb
1002
+ - spec/models/obtain_token_response_spec.rb
979
1003
  - spec/models/order_line_item_discount_scope_spec.rb
980
1004
  - spec/models/order_line_item_discount_spec.rb
981
1005
  - spec/models/order_line_item_discount_type_spec.rb
@@ -989,12 +1013,16 @@ test_files:
989
1013
  - spec/models/register_domain_request_spec.rb
990
1014
  - spec/models/register_domain_response_spec.rb
991
1015
  - spec/models/register_domain_response_status_spec.rb
1016
+ - spec/models/renew_token_request_spec.rb
1017
+ - spec/models/renew_token_response_spec.rb
992
1018
  - spec/models/retrieve_catalog_object_request_spec.rb
993
1019
  - spec/models/retrieve_catalog_object_response_spec.rb
994
1020
  - spec/models/retrieve_customer_request_spec.rb
995
1021
  - spec/models/retrieve_customer_response_spec.rb
996
1022
  - spec/models/retrieve_transaction_request_spec.rb
997
1023
  - spec/models/retrieve_transaction_response_spec.rb
1024
+ - spec/models/revoke_token_request_spec.rb
1025
+ - spec/models/revoke_token_response_spec.rb
998
1026
  - spec/models/search_catalog_objects_request_spec.rb
999
1027
  - spec/models/search_catalog_objects_response_spec.rb
1000
1028
  - spec/models/search_customers_request_spec.rb
@@ -1043,8 +1071,8 @@ test_files:
1043
1071
  - spec/models/v1_page_spec.rb
1044
1072
  - spec/models/v1_payment_discount_spec.rb
1045
1073
  - spec/models/v1_payment_item_detail_spec.rb
1046
- - spec/models/v1_payment_modifier_spec.rb
1047
1074
  - spec/models/v1_payment_itemization_spec.rb
1075
+ - spec/models/v1_payment_modifier_spec.rb
1048
1076
  - spec/models/v1_payment_spec.rb
1049
1077
  - spec/models/v1_payment_surcharge_spec.rb
1050
1078
  - spec/models/v1_payment_tax_spec.rb