agrid-client 0.0.2 → 0.0.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +1 -1
- data/lib/agrid_client/models/company_ranking.rb +3 -3
- data/lib/agrid_client/version.rb +1 -1
- data/spec/api_client_spec.rb +8 -3
- metadata +1 -53
- data/spec/api/cities_api_spec.rb +0 -49
- data/spec/api/companies_api_spec.rb +0 -69
- data/spec/api/filters_api_spec.rb +0 -54
- data/spec/api/leads_api_spec.rb +0 -52
- data/spec/api/quotes_api_spec.rb +0 -74
- data/spec/api/services_api_spec.rb +0 -52
- data/spec/models/address_spec.rb +0 -116
- data/spec/models/category_spec.rb +0 -66
- data/spec/models/city_with_full_state_spec.rb +0 -66
- data/spec/models/city_with_state_name_spec.rb +0 -56
- data/spec/models/company_spec.rb +0 -116
- data/spec/models/customer_input_spec.rb +0 -66
- data/spec/models/customer_spec.rb +0 -86
- data/spec/models/filter_category_spec.rb +0 -66
- data/spec/models/filter_spec.rb +0 -66
- data/spec/models/inline_response_200_1_spec.rb +0 -66
- data/spec/models/inline_response_200_spec.rb +0 -46
- data/spec/models/item_spec.rb +0 -86
- data/spec/models/lead_input_spec.rb +0 -86
- data/spec/models/lead_spec.rb +0 -76
- data/spec/models/location_spec.rb +0 -56
- data/spec/models/phone_spec.rb +0 -46
- data/spec/models/price_range_spec.rb +0 -56
- data/spec/models/quote_spec.rb +0 -116
- data/spec/models/service_spec.rb +0 -76
- data/spec/models/state_spec.rb +0 -56
@@ -1,66 +0,0 @@
|
|
1
|
-
=begin
|
2
|
-
Agrid Quotes API
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
OpenAPI spec version: 1.0
|
7
|
-
|
8
|
-
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
9
|
-
|
10
|
-
|
11
|
-
=end
|
12
|
-
|
13
|
-
require 'spec_helper'
|
14
|
-
require 'json'
|
15
|
-
require 'date'
|
16
|
-
|
17
|
-
# Unit tests for AgridClient::CustomerInput
|
18
|
-
# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen)
|
19
|
-
# Please update as you see appropriate
|
20
|
-
describe 'CustomerInput' do
|
21
|
-
before do
|
22
|
-
# run before each test
|
23
|
-
@instance = AgridClient::CustomerInput.new
|
24
|
-
end
|
25
|
-
|
26
|
-
after do
|
27
|
-
# run after each test
|
28
|
-
end
|
29
|
-
|
30
|
-
describe 'test an instance of CustomerInput' do
|
31
|
-
it 'should create an instact of CustomerInput' do
|
32
|
-
@instance.should be_a(AgridClient::CustomerInput)
|
33
|
-
end
|
34
|
-
end
|
35
|
-
describe 'test attribute "email"' do
|
36
|
-
it 'should work' do
|
37
|
-
# assertion here
|
38
|
-
# should be_a()
|
39
|
-
# should be_nil
|
40
|
-
# should ==
|
41
|
-
# should_not ==
|
42
|
-
end
|
43
|
-
end
|
44
|
-
|
45
|
-
describe 'test attribute "phone"' do
|
46
|
-
it 'should work' do
|
47
|
-
# assertion here
|
48
|
-
# should be_a()
|
49
|
-
# should be_nil
|
50
|
-
# should ==
|
51
|
-
# should_not ==
|
52
|
-
end
|
53
|
-
end
|
54
|
-
|
55
|
-
describe 'test attribute "name"' do
|
56
|
-
it 'should work' do
|
57
|
-
# assertion here
|
58
|
-
# should be_a()
|
59
|
-
# should be_nil
|
60
|
-
# should ==
|
61
|
-
# should_not ==
|
62
|
-
end
|
63
|
-
end
|
64
|
-
|
65
|
-
end
|
66
|
-
|
@@ -1,86 +0,0 @@
|
|
1
|
-
=begin
|
2
|
-
Agrid Quotes API
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
OpenAPI spec version: 1.0
|
7
|
-
|
8
|
-
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
9
|
-
|
10
|
-
|
11
|
-
=end
|
12
|
-
|
13
|
-
require 'spec_helper'
|
14
|
-
require 'json'
|
15
|
-
require 'date'
|
16
|
-
|
17
|
-
# Unit tests for AgridClient::Customer
|
18
|
-
# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen)
|
19
|
-
# Please update as you see appropriate
|
20
|
-
describe 'Customer' do
|
21
|
-
before do
|
22
|
-
# run before each test
|
23
|
-
@instance = AgridClient::Customer.new
|
24
|
-
end
|
25
|
-
|
26
|
-
after do
|
27
|
-
# run after each test
|
28
|
-
end
|
29
|
-
|
30
|
-
describe 'test an instance of Customer' do
|
31
|
-
it 'should create an instact of Customer' do
|
32
|
-
@instance.should be_a(AgridClient::Customer)
|
33
|
-
end
|
34
|
-
end
|
35
|
-
describe 'test attribute "id"' do
|
36
|
-
it 'should work' do
|
37
|
-
# assertion here
|
38
|
-
# should be_a()
|
39
|
-
# should be_nil
|
40
|
-
# should ==
|
41
|
-
# should_not ==
|
42
|
-
end
|
43
|
-
end
|
44
|
-
|
45
|
-
describe 'test attribute "avatar"' do
|
46
|
-
it 'should work' do
|
47
|
-
# assertion here
|
48
|
-
# should be_a()
|
49
|
-
# should be_nil
|
50
|
-
# should ==
|
51
|
-
# should_not ==
|
52
|
-
end
|
53
|
-
end
|
54
|
-
|
55
|
-
describe 'test attribute "name"' do
|
56
|
-
it 'should work' do
|
57
|
-
# assertion here
|
58
|
-
# should be_a()
|
59
|
-
# should be_nil
|
60
|
-
# should ==
|
61
|
-
# should_not ==
|
62
|
-
end
|
63
|
-
end
|
64
|
-
|
65
|
-
describe 'test attribute "email"' do
|
66
|
-
it 'should work' do
|
67
|
-
# assertion here
|
68
|
-
# should be_a()
|
69
|
-
# should be_nil
|
70
|
-
# should ==
|
71
|
-
# should_not ==
|
72
|
-
end
|
73
|
-
end
|
74
|
-
|
75
|
-
describe 'test attribute "phone"' do
|
76
|
-
it 'should work' do
|
77
|
-
# assertion here
|
78
|
-
# should be_a()
|
79
|
-
# should be_nil
|
80
|
-
# should ==
|
81
|
-
# should_not ==
|
82
|
-
end
|
83
|
-
end
|
84
|
-
|
85
|
-
end
|
86
|
-
|
@@ -1,66 +0,0 @@
|
|
1
|
-
=begin
|
2
|
-
Agrid Quotes API
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
OpenAPI spec version: 1.0
|
7
|
-
|
8
|
-
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
9
|
-
|
10
|
-
|
11
|
-
=end
|
12
|
-
|
13
|
-
require 'spec_helper'
|
14
|
-
require 'json'
|
15
|
-
require 'date'
|
16
|
-
|
17
|
-
# Unit tests for AgridClient::FilterCategory
|
18
|
-
# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen)
|
19
|
-
# Please update as you see appropriate
|
20
|
-
describe 'FilterCategory' do
|
21
|
-
before do
|
22
|
-
# run before each test
|
23
|
-
@instance = AgridClient::FilterCategory.new
|
24
|
-
end
|
25
|
-
|
26
|
-
after do
|
27
|
-
# run after each test
|
28
|
-
end
|
29
|
-
|
30
|
-
describe 'test an instance of FilterCategory' do
|
31
|
-
it 'should create an instact of FilterCategory' do
|
32
|
-
@instance.should be_a(AgridClient::FilterCategory)
|
33
|
-
end
|
34
|
-
end
|
35
|
-
describe 'test attribute "id"' do
|
36
|
-
it 'should work' do
|
37
|
-
# assertion here
|
38
|
-
# should be_a()
|
39
|
-
# should be_nil
|
40
|
-
# should ==
|
41
|
-
# should_not ==
|
42
|
-
end
|
43
|
-
end
|
44
|
-
|
45
|
-
describe 'test attribute "title"' do
|
46
|
-
it 'should work' do
|
47
|
-
# assertion here
|
48
|
-
# should be_a()
|
49
|
-
# should be_nil
|
50
|
-
# should ==
|
51
|
-
# should_not ==
|
52
|
-
end
|
53
|
-
end
|
54
|
-
|
55
|
-
describe 'test attribute "basic"' do
|
56
|
-
it 'should work' do
|
57
|
-
# assertion here
|
58
|
-
# should be_a()
|
59
|
-
# should be_nil
|
60
|
-
# should ==
|
61
|
-
# should_not ==
|
62
|
-
end
|
63
|
-
end
|
64
|
-
|
65
|
-
end
|
66
|
-
|
data/spec/models/filter_spec.rb
DELETED
@@ -1,66 +0,0 @@
|
|
1
|
-
=begin
|
2
|
-
Agrid Quotes API
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
OpenAPI spec version: 1.0
|
7
|
-
|
8
|
-
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
9
|
-
|
10
|
-
|
11
|
-
=end
|
12
|
-
|
13
|
-
require 'spec_helper'
|
14
|
-
require 'json'
|
15
|
-
require 'date'
|
16
|
-
|
17
|
-
# Unit tests for AgridClient::Filter
|
18
|
-
# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen)
|
19
|
-
# Please update as you see appropriate
|
20
|
-
describe 'Filter' do
|
21
|
-
before do
|
22
|
-
# run before each test
|
23
|
-
@instance = AgridClient::Filter.new
|
24
|
-
end
|
25
|
-
|
26
|
-
after do
|
27
|
-
# run after each test
|
28
|
-
end
|
29
|
-
|
30
|
-
describe 'test an instance of Filter' do
|
31
|
-
it 'should create an instact of Filter' do
|
32
|
-
@instance.should be_a(AgridClient::Filter)
|
33
|
-
end
|
34
|
-
end
|
35
|
-
describe 'test attribute "id"' do
|
36
|
-
it 'should work' do
|
37
|
-
# assertion here
|
38
|
-
# should be_a()
|
39
|
-
# should be_nil
|
40
|
-
# should ==
|
41
|
-
# should_not ==
|
42
|
-
end
|
43
|
-
end
|
44
|
-
|
45
|
-
describe 'test attribute "title"' do
|
46
|
-
it 'should work' do
|
47
|
-
# assertion here
|
48
|
-
# should be_a()
|
49
|
-
# should be_nil
|
50
|
-
# should ==
|
51
|
-
# should_not ==
|
52
|
-
end
|
53
|
-
end
|
54
|
-
|
55
|
-
describe 'test attribute "filter_categories"' do
|
56
|
-
it 'should work' do
|
57
|
-
# assertion here
|
58
|
-
# should be_a()
|
59
|
-
# should be_nil
|
60
|
-
# should ==
|
61
|
-
# should_not ==
|
62
|
-
end
|
63
|
-
end
|
64
|
-
|
65
|
-
end
|
66
|
-
|
@@ -1,66 +0,0 @@
|
|
1
|
-
=begin
|
2
|
-
Agrid Quotes API
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
OpenAPI spec version: 1.0
|
7
|
-
|
8
|
-
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
9
|
-
|
10
|
-
|
11
|
-
=end
|
12
|
-
|
13
|
-
require 'spec_helper'
|
14
|
-
require 'json'
|
15
|
-
require 'date'
|
16
|
-
|
17
|
-
# Unit tests for AgridClient::InlineResponse2001
|
18
|
-
# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen)
|
19
|
-
# Please update as you see appropriate
|
20
|
-
describe 'InlineResponse2001' do
|
21
|
-
before do
|
22
|
-
# run before each test
|
23
|
-
@instance = AgridClient::InlineResponse2001.new
|
24
|
-
end
|
25
|
-
|
26
|
-
after do
|
27
|
-
# run after each test
|
28
|
-
end
|
29
|
-
|
30
|
-
describe 'test an instance of InlineResponse2001' do
|
31
|
-
it 'should create an instact of InlineResponse2001' do
|
32
|
-
@instance.should be_a(AgridClient::InlineResponse2001)
|
33
|
-
end
|
34
|
-
end
|
35
|
-
describe 'test attribute "quotes"' do
|
36
|
-
it 'should work' do
|
37
|
-
# assertion here
|
38
|
-
# should be_a()
|
39
|
-
# should be_nil
|
40
|
-
# should ==
|
41
|
-
# should_not ==
|
42
|
-
end
|
43
|
-
end
|
44
|
-
|
45
|
-
describe 'test attribute "count"' do
|
46
|
-
it 'should work' do
|
47
|
-
# assertion here
|
48
|
-
# should be_a()
|
49
|
-
# should be_nil
|
50
|
-
# should ==
|
51
|
-
# should_not ==
|
52
|
-
end
|
53
|
-
end
|
54
|
-
|
55
|
-
describe 'test attribute "price_ranges"' do
|
56
|
-
it 'should work' do
|
57
|
-
# assertion here
|
58
|
-
# should be_a()
|
59
|
-
# should be_nil
|
60
|
-
# should ==
|
61
|
-
# should_not ==
|
62
|
-
end
|
63
|
-
end
|
64
|
-
|
65
|
-
end
|
66
|
-
|
@@ -1,46 +0,0 @@
|
|
1
|
-
=begin
|
2
|
-
Agrid Quotes API
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
OpenAPI spec version: 1.0
|
7
|
-
|
8
|
-
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
9
|
-
|
10
|
-
|
11
|
-
=end
|
12
|
-
|
13
|
-
require 'spec_helper'
|
14
|
-
require 'json'
|
15
|
-
require 'date'
|
16
|
-
|
17
|
-
# Unit tests for AgridClient::InlineResponse200
|
18
|
-
# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen)
|
19
|
-
# Please update as you see appropriate
|
20
|
-
describe 'InlineResponse200' do
|
21
|
-
before do
|
22
|
-
# run before each test
|
23
|
-
@instance = AgridClient::InlineResponse200.new
|
24
|
-
end
|
25
|
-
|
26
|
-
after do
|
27
|
-
# run after each test
|
28
|
-
end
|
29
|
-
|
30
|
-
describe 'test an instance of InlineResponse200' do
|
31
|
-
it 'should create an instact of InlineResponse200' do
|
32
|
-
@instance.should be_a(AgridClient::InlineResponse200)
|
33
|
-
end
|
34
|
-
end
|
35
|
-
describe 'test attribute "count"' do
|
36
|
-
it 'should work' do
|
37
|
-
# assertion here
|
38
|
-
# should be_a()
|
39
|
-
# should be_nil
|
40
|
-
# should ==
|
41
|
-
# should_not ==
|
42
|
-
end
|
43
|
-
end
|
44
|
-
|
45
|
-
end
|
46
|
-
|
data/spec/models/item_spec.rb
DELETED
@@ -1,86 +0,0 @@
|
|
1
|
-
=begin
|
2
|
-
Agrid Quotes API
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
OpenAPI spec version: 1.0
|
7
|
-
|
8
|
-
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
9
|
-
|
10
|
-
|
11
|
-
=end
|
12
|
-
|
13
|
-
require 'spec_helper'
|
14
|
-
require 'json'
|
15
|
-
require 'date'
|
16
|
-
|
17
|
-
# Unit tests for AgridClient::Item
|
18
|
-
# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen)
|
19
|
-
# Please update as you see appropriate
|
20
|
-
describe 'Item' do
|
21
|
-
before do
|
22
|
-
# run before each test
|
23
|
-
@instance = AgridClient::Item.new
|
24
|
-
end
|
25
|
-
|
26
|
-
after do
|
27
|
-
# run after each test
|
28
|
-
end
|
29
|
-
|
30
|
-
describe 'test an instance of Item' do
|
31
|
-
it 'should create an instact of Item' do
|
32
|
-
@instance.should be_a(AgridClient::Item)
|
33
|
-
end
|
34
|
-
end
|
35
|
-
describe 'test attribute "id"' do
|
36
|
-
it 'should work' do
|
37
|
-
# assertion here
|
38
|
-
# should be_a()
|
39
|
-
# should be_nil
|
40
|
-
# should ==
|
41
|
-
# should_not ==
|
42
|
-
end
|
43
|
-
end
|
44
|
-
|
45
|
-
describe 'test attribute "title"' do
|
46
|
-
it 'should work' do
|
47
|
-
# assertion here
|
48
|
-
# should be_a()
|
49
|
-
# should be_nil
|
50
|
-
# should ==
|
51
|
-
# should_not ==
|
52
|
-
end
|
53
|
-
end
|
54
|
-
|
55
|
-
describe 'test attribute "basic"' do
|
56
|
-
it 'should work' do
|
57
|
-
# assertion here
|
58
|
-
# should be_a()
|
59
|
-
# should be_nil
|
60
|
-
# should ==
|
61
|
-
# should_not ==
|
62
|
-
end
|
63
|
-
end
|
64
|
-
|
65
|
-
describe 'test attribute "price"' do
|
66
|
-
it 'should work' do
|
67
|
-
# assertion here
|
68
|
-
# should be_a()
|
69
|
-
# should be_nil
|
70
|
-
# should ==
|
71
|
-
# should_not ==
|
72
|
-
end
|
73
|
-
end
|
74
|
-
|
75
|
-
describe 'test attribute "note"' do
|
76
|
-
it 'should work' do
|
77
|
-
# assertion here
|
78
|
-
# should be_a()
|
79
|
-
# should be_nil
|
80
|
-
# should ==
|
81
|
-
# should_not ==
|
82
|
-
end
|
83
|
-
end
|
84
|
-
|
85
|
-
end
|
86
|
-
|