agrid-client 0.0.6 → 0.0.7
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/agrid_client/models/company.rb +8 -3
- data/lib/agrid_client/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b6b8eb9f296e33b541c6bbbc2f7e8440fe4c00a7
|
4
|
+
data.tar.gz: a9ff205f1ac1c76a69e45ab4e76c621b4cfb6635
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5f1289d3e33293bd5f5f05419802ebcfd8b88caadc8c4bd1b87cd3129821f1505017b494e7a45d683700f5469a3ad6f84e8e1bfb82ee1454fff33ad681a58c68
|
7
|
+
data.tar.gz: 449d23a7c09acea7bfdc68b124e1337f385eea8df81819cfc60ca8f8a4d6af793ba78dc1cd49edac14fbf0d032f60ac1947b73c762429f9a4d2e3d27b8719ec5
|
@@ -8,7 +8,7 @@ module AgridClient
|
|
8
8
|
# Unique id
|
9
9
|
attr_accessor :id, :email, :name, :person_in_charge, :website, :location,
|
10
10
|
:addresses, :phones, :logo, :cover, :data_checks, :rankings, :rating,
|
11
|
-
:description
|
11
|
+
:description, :comission_rate
|
12
12
|
|
13
13
|
# Attribute mapping from ruby-style variable name to JSON key.
|
14
14
|
def self.attribute_map
|
@@ -26,7 +26,8 @@ module AgridClient
|
|
26
26
|
:'data_checks' => :'data_checks',
|
27
27
|
:'rankings' => :'company_rankings',
|
28
28
|
:'rating' => :'rating',
|
29
|
-
:'description' => :'description'
|
29
|
+
:'description' => :'description',
|
30
|
+
:'comission_rate' => :'comission_rate'
|
30
31
|
}
|
31
32
|
end
|
32
33
|
|
@@ -46,7 +47,8 @@ module AgridClient
|
|
46
47
|
:'data_checks' => :'Array<DataCheck>',
|
47
48
|
:'rankings' => :'Array<CompanyRanking>',
|
48
49
|
:'rating' => 'Float',
|
49
|
-
:'description' => :'String'
|
50
|
+
:'description' => :'String',
|
51
|
+
:'comission_rate' => :'Float'
|
50
52
|
}
|
51
53
|
end
|
52
54
|
|
@@ -91,6 +93,9 @@ module AgridClient
|
|
91
93
|
if attributes[:'description']
|
92
94
|
self.description = attributes[:'description']
|
93
95
|
end
|
96
|
+
if attributes[:'comission_rate']
|
97
|
+
self.comission_rate = attributes[:'comission_rate']
|
98
|
+
end
|
94
99
|
end
|
95
100
|
|
96
101
|
# Checks equality by comparing each attribute.
|
data/lib/agrid_client/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: agrid-client
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.7
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Guilherme B. Moretti
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2017-
|
11
|
+
date: 2017-03-28 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: typhoeus
|