agrid-client 0.0.5 → 0.0.6

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 7bc586e229e5a9d8da7ed8a3bf40558097f210b9
4
- data.tar.gz: b77f54b2e67794c85460f2f7b111ef4f6c687b54
3
+ metadata.gz: 3221428bd99265b045d269d4a3a6ca8ab90e8965
4
+ data.tar.gz: d0116116d7a9b3acbbdc50be2f3f7f5944c40a2e
5
5
  SHA512:
6
- metadata.gz: 3a04b803879635cc726b27409ef605313ffeca4f1b3852b4af4670c657579614fc4f7a42f850fdfab72b8a63a48d657442558c88e1d9ab71809880956ff4efee
7
- data.tar.gz: f757f4afb868a18ab3551af89497c3336c5e6798051b55f857826be749c29fedd8b37f1e2c8ab2990c7c449b51f858bee0f8f58da620fa5942b966c4f89980df
6
+ metadata.gz: 1ec423b171efdf57b6959b78898ca5f757375fdc7a0aa3f30bc47d40909b67472947983a3263c659328ffe40b691a7ecc3a5cf7cb93ccb5593ddc7a0af964503
7
+ data.tar.gz: e451f0b51c116b5114f8f5cd1ea1f9920a6e82768ebaf83c4de8c2dc5578807a71182ae12ec55e537b762bdca8386329ef077f8450131d3de37a5481834ae085
@@ -18,19 +18,23 @@ module AgridClient
18
18
  include SwaggerModel
19
19
 
20
20
  # Company phone number
21
- attr_accessor :number
21
+ attr_accessor :number, :person_in_charge, :phone_type
22
22
 
23
23
  # Attribute mapping from ruby-style variable name to JSON key.
24
24
  def self.attribute_map
25
25
  {
26
- :'number' => :'number'
26
+ :'number' => :'number',
27
+ :'person_in_charge' => :'person_in_charge',
28
+ :'phone_type' => :'phone_type'
27
29
  }
28
30
  end
29
31
 
30
32
  # Attribute type mapping.
31
33
  def self.swagger_types
32
34
  {
33
- :'number' => :'String'
35
+ :'number' => :'String',
36
+ :'person_in_charge' => :'String',
37
+ :'phone_type' => :'String'
34
38
  }
35
39
  end
36
40
 
@@ -42,9 +46,10 @@ module AgridClient
42
46
  # convert string to symbol for hash key
43
47
  attributes = attributes.each_with_object({}){|(k,v), h| h[k.to_sym] = v}
44
48
 
45
- if attributes[:'number']
46
- self.number = attributes[:'number']
47
- end
49
+
50
+ self.number = attributes[:'number'] if attributes[:'number']
51
+ self.person_in_charge = attributes[:'person_in_charge'] if attributes[:'person_in_charge']
52
+ self.phone_type = attributes[:'phone_type'] if attributes[:'phone_type']
48
53
  end
49
54
 
50
55
  # Checks equality by comparing each attribute.
@@ -52,7 +57,9 @@ module AgridClient
52
57
  def ==(o)
53
58
  return true if self.equal?(o)
54
59
  self.class == o.class &&
55
- number == o.number
60
+ number == o.number &&
61
+ person_in_charge == o.person_in_charge &&
62
+ phone_type == o.phone_type
56
63
  end
57
64
  end
58
65
  end
@@ -1,3 +1,3 @@
1
1
  module AgridClient
2
- VERSION = "0.0.5"
2
+ VERSION = "0.0.6"
3
3
  end
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.5
4
+ version: 0.0.6
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: 2016-06-30 00:00:00.000000000 Z
11
+ date: 2017-01-20 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: typhoeus
@@ -60,7 +60,6 @@ extensions: []
60
60
  extra_rdoc_files: []
61
61
  files:
62
62
  - Gemfile
63
- - Gemfile.lock
64
63
  - README.md
65
64
  - agrid_client.gemspec
66
65
  - lib/agrid_client.rb
@@ -1,62 +0,0 @@
1
- PATH
2
- remote: .
3
- specs:
4
- agrid-client (0.0.3)
5
- json (~> 1.8)
6
- typhoeus (~> 1.0)
7
-
8
- GEM
9
- remote: https://rubygems.org/
10
- specs:
11
- addressable (2.4.0)
12
- coderay (1.1.1)
13
- crack (0.4.3)
14
- safe_yaml (~> 1.0.0)
15
- diff-lcs (1.2.5)
16
- ethon (0.8.1)
17
- ffi (>= 1.3.0)
18
- ffi (1.9.10)
19
- hashdiff (0.3.0)
20
- json (1.8.3)
21
- method_source (0.8.2)
22
- pry (0.10.3)
23
- coderay (~> 1.1.0)
24
- method_source (~> 0.8.1)
25
- slop (~> 3.4)
26
- rake (11.1.2)
27
- rspec (3.4.0)
28
- rspec-core (~> 3.4.0)
29
- rspec-expectations (~> 3.4.0)
30
- rspec-mocks (~> 3.4.0)
31
- rspec-core (3.4.4)
32
- rspec-support (~> 3.4.0)
33
- rspec-expectations (3.4.0)
34
- diff-lcs (>= 1.2.0, < 2.0)
35
- rspec-support (~> 3.4.0)
36
- rspec-mocks (3.4.1)
37
- diff-lcs (>= 1.2.0, < 2.0)
38
- rspec-support (~> 3.4.0)
39
- rspec-support (3.4.1)
40
- safe_yaml (1.0.4)
41
- slop (3.6.0)
42
- typhoeus (1.0.1)
43
- ethon (>= 0.8.0)
44
- vcr (3.0.1)
45
- webmock (1.24.3)
46
- addressable (>= 2.3.6)
47
- crack (>= 0.3.2)
48
- hashdiff
49
-
50
- PLATFORMS
51
- ruby
52
-
53
- DEPENDENCIES
54
- agrid-client!
55
- pry
56
- rake
57
- rspec (~> 3.4)
58
- vcr (~> 3.0)
59
- webmock
60
-
61
- BUNDLED WITH
62
- 1.11.2