book-value 0.0.1 → 0.0.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: 3486778f29f7596a49211757edad68992313807f0fc2ada242dfcea365f2b358
4
- data.tar.gz: f209f2f4c05e4eba2bfdb61e61652acb0d8b52a54abe21acf9e5a326b68dd202
3
+ metadata.gz: 0a11cb94c2fb19399434dc294c4e173f13b606fda34cab984577f429a29e7806
4
+ data.tar.gz: df5f6035353da19dd775e8b77f45eef7a4a81baa27bc0b3585fd2564254d04f3
5
5
  SHA512:
6
- metadata.gz: 83a23f501ef44bd7cbccdd8316073719d459137d9bf6060e04df998ef6ba074845f171935cf6511de6fec222e11703f58137af66477c880efcd266b2aa121c91
7
- data.tar.gz: 21a9eac0b5cc840dc92b74245f27bbd3b2d774b0336cd8acfebf71b89cd0f7eb8787f9b7d3a57dc3cb9139c2f609ed2fa6363f4e6958cf94e184de2927503c23
6
+ metadata.gz: f57c9cdf267e562991df15e675bdff55475859e111f7cb0f4a65df3546fef5e0c2d3157c1dbf997ef2c9d25eddfb4f2ad1467004415c5e78bc8bc4bc942ae35e
7
+ data.tar.gz: 8fbbe6a05a7d0099e708a1c43f4d21f97c146bcef883e636ed082873e01ca1609b5018c2d27c413d3d4fa75f711ab274d5ef1efd11954ae6d9b1331b3969bd5e
data/README.md CHANGED
@@ -31,7 +31,7 @@ Or install it yourself as:
31
31
  client = BookValue::Client.new
32
32
 
33
33
  # Some example calls
34
- client.car_models
34
+ client.car_makes
35
35
  client.car_models(make)
36
36
  client.car_features(make, model)
37
37
  client.get_book_value(make, model, features, mileage, year, condition_score)
@@ -59,7 +59,7 @@ module BookValue
59
59
 
60
60
  # Features are just the list of features
61
61
  # condition_score is between 1-10, 10 is perfect, 1 is bad
62
- def get_book_value(make, model, features, mileage, year, condition_score)
62
+ def get_book_value(make, model, features, mileage, year, condition_score = 10)
63
63
  feature_params = ""
64
64
 
65
65
  features.each do |feature_id|
@@ -1,3 +1,3 @@
1
1
  module BookValue
2
- VERSION = '0.0.1'
2
+ VERSION = '0.0.2'
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: book-value
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.1
4
+ version: 0.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - trex22
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2023-03-15 00:00:00.000000000 Z
11
+ date: 2023-03-16 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: httparty