carquery-client 0.1.1 → 0.1.2
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/carquery/client/version.rb +1 -1
- data/lib/carquery/client.rb +4 -0
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: '0294db7557784c85448c7028634be5f23b9d710f8cf4be1923fa3dfb4ff27274'
|
4
|
+
data.tar.gz: ff1336292b509f66677444ff80ff8b5d0ace135102e9c1bb7e1b859f8ffe3c44
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 961c92afd6bc5288b3a2db6deb0bf655d76a0810abee8630ea1cdd07197f11237192ffa838258e71f1351f0d835d766964879557a68252e6df9afb9d79ce80f1
|
7
|
+
data.tar.gz: 33c8238115a2334fffdfa3d49970cdb2ee065761ad02894cb2c5be52a20626c9d3f388832da29cb0b6664dfcb9858478a52beec90764d06116212bf375d71b8d
|
data/Gemfile.lock
CHANGED
data/lib/carquery/client.rb
CHANGED
@@ -33,6 +33,10 @@ module Carquery
|
|
33
33
|
request(cmd: 'getModels', year: year, make: make, sold_in_us: us_only)['Models']
|
34
34
|
end
|
35
35
|
|
36
|
+
def trims_for_model(year, make, model)
|
37
|
+
request(cmd: 'getTrims', year: year, make: make, model: model)['Trims']
|
38
|
+
end
|
39
|
+
|
36
40
|
private
|
37
41
|
|
38
42
|
def request(params = {})
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: carquery-client
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Zshawn Syed
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2021-
|
11
|
+
date: 2021-11-08 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: faraday
|