carsxe_api 0.1.0 → 0.1.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +5 -0
- data/README.md +3 -9
- data/carsxe_api.gemspec +1 -1
- data/lib/carsxe_api/client/client.rb +1 -1
- data/lib/carsxe_api/version.rb +2 -2
- data/lib/carsxe_api.rb +6 -2
- data/sig/carsxe_api.rbs +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: fc96e5d7179a6972e4016626be810e6c2af513005a776fc3827fcfa68ab58331
|
4
|
+
data.tar.gz: feb2ed73709bff4380402e7bd3f2d120665df4e17347e26b7e8a730f6b78305d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4238b426824a401af41c2b31fe802fd7f29ff4b60bce7af06423f29a5d735593e21179d981d8f4df935c24ab832c695d6aa0caa7430f376339d115b657e64164
|
7
|
+
data.tar.gz: a14b147b253c58d1f75567c8550ab838870367bed76a1eabcefcc979adce26d97b2959bed15c1f9cf3f1a33496d83601936404f41a11e59a844e82770b1abadd
|
data/CHANGELOG.md
CHANGED
data/README.md
CHANGED
@@ -17,7 +17,7 @@ If bundler is not being used to manage dependencies, install the gem by executin
|
|
17
17
|
#### Declare client
|
18
18
|
|
19
19
|
```ruby
|
20
|
-
client =
|
20
|
+
client = CarsXEApi::Client.new(ENV['CARS_XE_API_KEY'])
|
21
21
|
```
|
22
22
|
|
23
23
|
#### Plate Decoder
|
@@ -30,15 +30,9 @@ data = client.plate_decoder('HOWDY12', 'TX')
|
|
30
30
|
```ruby
|
31
31
|
data = client.market_value('ENTER_VIN_HERE')
|
32
32
|
```
|
33
|
-
## Development
|
34
|
-
|
35
|
-
After checking out the repo, run `bin/setup` to install dependencies. Then, run `rake test` to run the tests. You can also run `bin/console` for an interactive prompt that will allow you to experiment.
|
36
|
-
|
37
|
-
To install this gem onto your local machine, run `bundle exec rake install`. To release a new version, update the version number in `version.rb`, and then run `bundle exec rake release`, which will create a git tag for the version, push git commits and the created tag, and push the `.gem` file to [rubygems.org](https://rubygems.org).
|
38
|
-
|
39
33
|
## Contributing
|
40
34
|
|
41
|
-
Bug reports and pull requests are welcome on GitHub at https://github.com/
|
35
|
+
Bug reports and pull requests are welcome on GitHub at https://github.com/jippylong12/carsxe_api. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the [code of conduct](https://github.com/jippylong12/carsxe_api/blob/master/CODE_OF_CONDUCT.md).
|
42
36
|
|
43
37
|
## License
|
44
38
|
|
@@ -46,4 +40,4 @@ The gem is available as open source under the terms of the [MIT License](https:/
|
|
46
40
|
|
47
41
|
## Code of Conduct
|
48
42
|
|
49
|
-
Everyone interacting in the
|
43
|
+
Everyone interacting in the CarsXEApi project's codebases, issue trackers, chat rooms and mailing lists is expected to follow the [code of conduct](https://github.com/jippylong12/carsxe_api/blob/master/CODE_OF_CONDUCT.md).
|
data/carsxe_api.gemspec
CHANGED
data/lib/carsxe_api/version.rb
CHANGED
data/lib/carsxe_api.rb
CHANGED
@@ -1,12 +1,16 @@
|
|
1
1
|
# frozen_string_literal: true
|
2
2
|
require 'json'
|
3
|
-
|
3
|
+
|
4
|
+
begin
|
5
|
+
require 'dotenv/load'
|
6
|
+
rescue
|
7
|
+
end
|
4
8
|
|
5
9
|
require_relative "carsxe_api/version"
|
6
10
|
|
7
11
|
require_relative "carsxe_api/client"
|
8
12
|
|
9
|
-
module
|
13
|
+
module CarsXEApi
|
10
14
|
class Error < StandardError; end
|
11
15
|
|
12
16
|
end
|
data/sig/carsxe_api.rbs
CHANGED