my_john_deere_api 1.0.2 → 1.0.3

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: 4dbd6e9523746da359d6a79cb52131fe3ac095f09a02cf49a7937ff293c1a7b3
4
- data.tar.gz: b417596b0d8e244ea15ca1445d30515c6ce8bf28f5e29bba659002ee8cbc1953
3
+ metadata.gz: 4a102c3adce407338232eacc4660b0dd77cfa6c3de5df8b9b685128ddec54177
4
+ data.tar.gz: 89fa527b141905f0d338be9c1046877ebf11e4ce40bb6b60870a53f076e1cccf
5
5
  SHA512:
6
- metadata.gz: e056029b56fedfeaeea06431961c71c308891d1286efeef5933af57bdd64b3c0d53c044f988dc48d4aa9f5f419237f4be245d88c3d0369487a8a8ff5d4f545e0
7
- data.tar.gz: cdf01c40b9249bc602dbda7ddc9d0146f962b78871f13892f5bd462dab57a08bc883669623bfc40983fd69e6bad67195f44456f70a4399ea1b301a2405928710
6
+ metadata.gz: a69fa01f798ab1f313d04cc1bae801a5034d1137f94af51c00b0a888ffc2a5c1049ba47b39682d4fbb1cb753bf9c94375ca647965680d748e6985be16f1d9d9c
7
+ data.tar.gz: 26a3b54145b35dfd48f167c69b85bb1349a41451b007d54cc8204c1d952eafd2ceb98d43dce4054974e0d88c6b76a466492b91fd8cc811ee37830060981e016a
data/README.md CHANGED
@@ -123,6 +123,37 @@ Once you're connected, the client works like a simplified version of ActiveRecor
123
123
  converted into objects to be easier to work with. Collections of things, like organizations, handle pagination
124
124
  for you. Just iterate using `each`, `map`, etc, and new pages are fetched as needed.
125
125
 
126
+ This client is a work in progress. You can currently do the following things without resorting to API calls:
127
+
128
+ ```
129
+ client
130
+ └── organizations
131
+ ├── count
132
+ ├── all
133
+ ├── first
134
+ └── find(organization_id)
135
+ ├── assets(attributes)
136
+ | ├── count
137
+ | ├── all
138
+ | ├── first
139
+ | ├── find(asset_id)
140
+ | | └── locations
141
+ | | ├── count
142
+ | | ├── all
143
+ | | ├── first
144
+ | | └── create(attributes)
145
+ | └── create(attributes)
146
+ └── fields
147
+ ├── count
148
+ ├── all
149
+ ├── first
150
+ └── find(field_id)
151
+ └── flags
152
+ ├── count
153
+ ├── all
154
+ └── first
155
+ ```
156
+
126
157
  #### [Organizations](https://developer.deere.com/#!documentation&doc=myjohndeere%2Forganizations.htm)
127
158
 
128
159
  Organization collections act like a list. In addition to all the methods included via Ruby's
@@ -156,7 +187,7 @@ organization.name
156
187
  organization.type
157
188
  # => 'customer'
158
189
 
159
- organization.member
190
+ organization.member?
160
191
  # => true
161
192
 
162
193
  organization.links
@@ -1,3 +1,3 @@
1
1
  module MyJohnDeereApi
2
- VERSION='1.0.2'
2
+ VERSION='1.0.3'
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: 1.0.2
4
+ version: 1.0.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jaime Bellmyer