square_connect 2.7.0.202 → 2.8.0.208

Sign up to get free protection for your applications and to get access to all the features.
@@ -8,5 +8,5 @@ Generated by: https://github.com/swagger-api/swagger-codegen.git
8
8
  =end
9
9
 
10
10
  module SquareConnect
11
- VERSION = "2.7.0"
11
+ VERSION = "2.8.0"
12
12
  end
@@ -0,0 +1,33 @@
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::CustomerSortField
15
+ # Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen)
16
+ # Please update as you see appropriate
17
+ describe 'CustomerSortField' do
18
+ before do
19
+ # run before each test
20
+ @instance = SquareConnect::CustomerSortField.new
21
+ end
22
+
23
+ after do
24
+ # run after each test
25
+ end
26
+
27
+ describe 'test an instance of CustomerSortField' do
28
+ it 'should create an instact of CustomerSortField' do
29
+ expect(@instance).to be_instance_of(SquareConnect::CustomerSortField)
30
+ end
31
+ end
32
+ end
33
+
@@ -0,0 +1,85 @@
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::V1PaymentSurcharge
15
+ # Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen)
16
+ # Please update as you see appropriate
17
+ describe 'V1PaymentSurcharge' do
18
+ before do
19
+ # run before each test
20
+ @instance = SquareConnect::V1PaymentSurcharge.new
21
+ end
22
+
23
+ after do
24
+ # run after each test
25
+ end
26
+
27
+ describe 'test an instance of V1PaymentSurcharge' do
28
+ it 'should create an instact of V1PaymentSurcharge' do
29
+ expect(@instance).to be_instance_of(SquareConnect::V1PaymentSurcharge)
30
+ end
31
+ end
32
+ describe 'test attribute "name"' 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 "applied_money"' 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 "rate"' 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 "amount_money"' 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 "type"' do
57
+ it 'should work' do
58
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
59
+ #validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["UNKNOWN", "AUTO_GRATUITY", "CUSTOM"])
60
+ #validator.allowable_values.each do |value|
61
+ # expect { @instance.type = value }.not_to raise_error
62
+ #end
63
+ end
64
+ end
65
+
66
+ describe 'test attribute "taxable"' 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
+ describe 'test attribute "taxes"' do
73
+ it 'should work' do
74
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
75
+ end
76
+ end
77
+
78
+ describe 'test attribute "surcharge_id"' 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
+ end
85
+
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.7.0.202
4
+ version: 2.8.0.208
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-04-24 00:00:00.000000000 Z
11
+ date: 2018-05-25 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: typhoeus
@@ -274,6 +274,7 @@ files:
274
274
  - docs/Customer.md
275
275
  - docs/CustomerGroupInfo.md
276
276
  - docs/CustomerPreferences.md
277
+ - docs/CustomerSortField.md
277
278
  - docs/CustomersApi.md
278
279
  - docs/DeleteCatalogObjectRequest.md
279
280
  - docs/DeleteCatalogObjectResponse.md
@@ -380,6 +381,7 @@ files:
380
381
  - docs/V1PaymentItemDetail.md
381
382
  - docs/V1PaymentItemization.md
382
383
  - docs/V1PaymentModifier.md
384
+ - docs/V1PaymentSurcharge.md
383
385
  - docs/V1PaymentTax.md
384
386
  - docs/V1PhoneNumber.md
385
387
  - docs/V1Refund.md
@@ -478,6 +480,7 @@ files:
478
480
  - lib/square_connect/models/customer.rb
479
481
  - lib/square_connect/models/customer_group_info.rb
480
482
  - lib/square_connect/models/customer_preferences.rb
483
+ - lib/square_connect/models/customer_sort_field.rb
481
484
  - lib/square_connect/models/delete_catalog_object_request.rb
482
485
  - lib/square_connect/models/delete_catalog_object_response.rb
483
486
  - lib/square_connect/models/delete_customer_card_request.rb
@@ -576,6 +579,7 @@ files:
576
579
  - lib/square_connect/models/v1_payment_item_detail.rb
577
580
  - lib/square_connect/models/v1_payment_itemization.rb
578
581
  - lib/square_connect/models/v1_payment_modifier.rb
582
+ - lib/square_connect/models/v1_payment_surcharge.rb
579
583
  - lib/square_connect/models/v1_payment_tax.rb
580
584
  - lib/square_connect/models/v1_phone_number.rb
581
585
  - lib/square_connect/models/v1_refund.rb
@@ -671,6 +675,7 @@ files:
671
675
  - spec/models/currency_spec.rb
672
676
  - spec/models/customer_group_info_spec.rb
673
677
  - spec/models/customer_preferences_spec.rb
678
+ - spec/models/customer_sort_field_spec.rb
674
679
  - spec/models/customer_spec.rb
675
680
  - spec/models/delete_catalog_object_request_spec.rb
676
681
  - spec/models/delete_catalog_object_response_spec.rb
@@ -770,6 +775,7 @@ files:
770
775
  - spec/models/v1_payment_itemization_spec.rb
771
776
  - spec/models/v1_payment_modifier_spec.rb
772
777
  - spec/models/v1_payment_spec.rb
778
+ - spec/models/v1_payment_surcharge_spec.rb
773
779
  - spec/models/v1_payment_tax_spec.rb
774
780
  - spec/models/v1_phone_number_spec.rb
775
781
  - spec/models/v1_refund_spec.rb
@@ -806,7 +812,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
806
812
  version: '0'
807
813
  requirements: []
808
814
  rubyforge_project:
809
- rubygems_version: 2.7.6
815
+ rubygems_version: 2.7.7
810
816
  signing_key:
811
817
  specification_version: 4
812
818
  summary: Square Connect API Ruby Gem
@@ -892,6 +898,7 @@ test_files:
892
898
  - spec/models/currency_spec.rb
893
899
  - spec/models/customer_group_info_spec.rb
894
900
  - spec/models/customer_preferences_spec.rb
901
+ - spec/models/customer_sort_field_spec.rb
895
902
  - spec/models/customer_spec.rb
896
903
  - spec/models/delete_catalog_object_request_spec.rb
897
904
  - spec/models/delete_catalog_object_response_spec.rb
@@ -908,8 +915,8 @@ test_files:
908
915
  - spec/models/list_additional_recipient_receivable_refunds_request_spec.rb
909
916
  - spec/models/list_additional_recipient_receivable_refunds_response_spec.rb
910
917
  - spec/models/list_additional_recipient_receivables_request_spec.rb
911
- - spec/models/list_additional_recipient_receivables_response_spec.rb
912
918
  - spec/models/list_catalog_request_spec.rb
919
+ - spec/models/list_additional_recipient_receivables_response_spec.rb
913
920
  - spec/models/list_catalog_response_spec.rb
914
921
  - spec/models/list_customers_request_spec.rb
915
922
  - spec/models/list_customers_response_spec.rb
@@ -991,6 +998,7 @@ test_files:
991
998
  - spec/models/v1_payment_itemization_spec.rb
992
999
  - spec/models/v1_payment_modifier_spec.rb
993
1000
  - spec/models/v1_payment_spec.rb
1001
+ - spec/models/v1_payment_surcharge_spec.rb
994
1002
  - spec/models/v1_payment_tax_spec.rb
995
1003
  - spec/models/v1_phone_number_spec.rb
996
1004
  - spec/models/v1_refund_spec.rb