carsxe 1.0.0 → 1.0.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 8772fd8486f77ee741efb317c60f082cc17a359772b42a58e8a90268e55f9871
4
- data.tar.gz: ebb283a4087e486016fa34066cb4949dcee572f4fc3cc08fba81aad032862332
3
+ metadata.gz: 11e0f1b190f93ff1e89312f4c1d82bf721a19939482eed4b4707906e209f5ba0
4
+ data.tar.gz: c78902368d5b195bdaeff8595501621c28e253fc4bfb4ba223fb2bccdc6370c8
5
5
  SHA512:
6
- metadata.gz: ff6a99b04ef27d76cba8170a7ac7537a8e481d0bfdb18ba5622a778a36e4bca1da214e0ccd874971f68c488f1fcb349467ab960f4e69a2b11b2b6c663747022b
7
- data.tar.gz: 3da21ca1907c4f97d0cbd49e2258dca19d2e455c435c8a83118c07e388ab174cee49725bd22f36ba87f7de2d475cc7f9a66a6defe48a981e86a4bade9285f95b
6
+ metadata.gz: 1381d56bb46fad15765feacd6e65e5400bda25ede2c1a5105f4e9963435fc036f4fe85716d3c2c659fb3f18cdca7f1d2aaa3a908ac3b73b79e2880921e310cea
7
+ data.tar.gz: 39e4bf39ab2c22721d735c0a47312964b3dde6208d2c7b65778b4f020a1aa815af83e8417fe5c71f2fdb1909a6562baeefe825b50173021be09dde259be4ca14
data/README.md CHANGED
@@ -11,7 +11,6 @@
11
11
  To get started with the CarsXE API, follow these steps:
12
12
 
13
13
  1. **Sign up for a CarsXE account:**
14
-
15
14
  - [Register here](https://api.carsxe.com/register)
16
15
  - Add a [payment method](https://api.carsxe.com/dashboard/billing#payment-methods) to activate your subscription and get your API key.
17
16
 
@@ -283,6 +282,24 @@ obdcode = carsxe.obd_codes_decoder('code' => 'P0115')
283
282
 
284
283
  ---
285
284
 
285
+ ### `lien_and_theft` – Check for lien and theft records
286
+
287
+ **Required:**
288
+
289
+ - `vin`
290
+
291
+ **Optional:**
292
+
293
+ - None
294
+
295
+ **Example:**
296
+
297
+ ```ruby
298
+ lientheft = carsxe.lien_and_theft('vin' => '2C3CDXFG1FH762860')
299
+ ```
300
+
301
+ ---
302
+
286
303
  ## Notes & Best Practices
287
304
 
288
305
  - **Parameter requirements:** Each endpoint requires specific parameters—see the Required/Optional fields above.
data/lib/carsxe/carsxe.rb CHANGED
@@ -83,6 +83,10 @@ module Carsxe
83
83
  get("obdcodesdecoder", params, Types::OBDCODESDECODER_INPUT)
84
84
  end
85
85
 
86
+ def lien_and_theft(params = {})
87
+ get("v1/lien-theft", params, Types::VIN_INPUT)
88
+ end
89
+
86
90
  private
87
91
 
88
92
  # Determine required and optional keys from a param definition hash.
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Carsxe
4
- VERSION = "1.0.0"
4
+ VERSION = "1.0.2"
5
5
  end
metadata CHANGED
@@ -1,11 +1,11 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: carsxe
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.0
4
+ version: 1.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - CarsXE Developer
8
- - Omar Welied
8
+ - Omar Walied
9
9
  bindir: bin
10
10
  cert_chain: []
11
11
  date: 1980-01-02 00:00:00.000000000 Z