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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: edc3754c2ffc151991c8637472709c8298047cc7e3bd40e4c0a4dd51896e82ee
4
- data.tar.gz: 0c91c929ffeffb46cacf1d34ea513351cd1dba9fdc0b1a87c6cea77343f5a31e
3
+ metadata.gz: '0294db7557784c85448c7028634be5f23b9d710f8cf4be1923fa3dfb4ff27274'
4
+ data.tar.gz: ff1336292b509f66677444ff80ff8b5d0ace135102e9c1bb7e1b859f8ffe3c44
5
5
  SHA512:
6
- metadata.gz: 0d01a21f24ed2f64d1737ebb49ea32c10a700d1db6d2acb8b5a33abcc992db19e567513ed4ccf356ae6088c2a9f483a65431c99ad64538c59ec8e2079cecd3ee
7
- data.tar.gz: 4e58231c55ca4d8c8f4a1c77c6c9435682146f9326fea6002d39d4c7710269d837865f9cbb225f91a1c359f72c9a0c788261690c4697c2342dc41e75606ea41a
6
+ metadata.gz: 961c92afd6bc5288b3a2db6deb0bf655d76a0810abee8630ea1cdd07197f11237192ffa838258e71f1351f0d835d766964879557a68252e6df9afb9d79ce80f1
7
+ data.tar.gz: 33c8238115a2334fffdfa3d49970cdb2ee065761ad02894cb2c5be52a20626c9d3f388832da29cb0b6664dfcb9858478a52beec90764d06116212bf375d71b8d
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- carquery-client (0.1.0)
4
+ carquery-client (0.1.1)
5
5
  faraday (~> 1.8)
6
6
  faraday_middleware (~> 1.1)
7
7
 
@@ -1,5 +1,5 @@
1
1
  module Carquery
2
2
  class Client
3
- VERSION = "0.1.1"
3
+ VERSION = "0.1.2"
4
4
  end
5
5
  end
@@ -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.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-10-17 00:00:00.000000000 Z
11
+ date: 2021-11-08 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: faraday