my_john_deere_api 0.15.3 → 0.15.4

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
  SHA256:
3
- metadata.gz: c6b3c056a954ef11cd79da7b209599c350795a6406c91850f1e1c1e0bf0f0e1b
4
- data.tar.gz: 666db6a3deffb699dc6319217fc8caa9630a8271e96f28a0a04c1ed1bc0c1a7c
3
+ metadata.gz: fb000ae1403d9597e7880a972c46f5e2a9f9ca9326107d11e0ea1da2489a6ec6
4
+ data.tar.gz: e0f861b52d8a82465fd12eafcf8071779d5a72c05fc29d33ae46e8a1599b22cb
5
5
  SHA512:
6
- metadata.gz: 286efe1eb4fcd4ef9d71f36ae5364112df72299bd41964df4b001df146dff5bc410b6ad67720c5505d94c2a8f05c2ab3c5d16e752db19933d79fc587723ba2c1
7
- data.tar.gz: cc86dffc57c7eee891bf4afdc2aaf7b11a9c3fef243f119189a0d5195d5832033f5ff0bdbb9bd80283dfea802d3ffbe2161bd46665ade6d30155163751dbd5a3
6
+ metadata.gz: 199148536c1277155460eea6b33f197496a9d88be2413beeace1d4ae3eedc4c12d8a5bd7c837e50749a03ac0f0df0243d97641415fadf89c0d5acef63ce87698
7
+ data.tar.gz: 0b3273dc344198c2e05ca41257b623a6e919c84e219e162a35c3a9a6368fc8ae61f1ecfa828708fad25ec96e7d8a8a95085221331d9169ea35e6eafac7f19379
data/README.md CHANGED
@@ -133,12 +133,12 @@ GET requests require only a resource path.
133
133
  ]
134
134
  }
135
135
 
136
- This won't provide any client goodies like pagination or validation.
136
+ This won't provide any client goodies like pagination or validation, but it does parse the returned JSON.
137
137
 
138
138
 
139
139
  #### POST
140
140
 
141
- POST requests require a resource path, and a hash for the request body. The client camelize the keys, and convert to JSON.
141
+ POST requests require a resource path, and a hash for the request body. The client will camelize the keys, and convert to JSON.
142
142
 
143
143
  client.post(
144
144
  '/organizations/123123/assets',
@@ -157,13 +157,12 @@ POST requests require a resource path, and a hash for the request body. The clie
157
157
  }
158
158
  )
159
159
 
160
- The response for most requests is just an HTTP status code, with no body. In this case, the entire Net::HTTP response is retruned.
161
- If a body is provided, it will be JSON-parsed and returned instead of the full response.
160
+ John Deere's standard response is a 201 HTTP status code, with the message "Created". This method returns the full Net::HTTP response.
162
161
 
163
162
 
164
163
  #### PUT
165
164
 
166
- PUT requests require a resource path, and a hash for the request body. The client camelize the keys, and convert to JSON.
165
+ PUT requests require a resource path, and a hash for the request body. The client will camelize the keys, and convert to JSON.
167
166
 
168
167
  client.put(
169
168
  '/assets/123123',
@@ -1,3 +1,3 @@
1
1
  module MyJohnDeereApi
2
- VERSION='0.15.3'
2
+ VERSION='0.15.4'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: my_john_deere_api
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.15.3
4
+ version: 0.15.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jaime Bellmyer