edmunds 0.0.6 → 0.0.7

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
  SHA1:
3
- metadata.gz: 210055290ec0dcd043bfa54a7d763137ff6d20fb
4
- data.tar.gz: 555399acb19d97445abeef73a6c27e105dd47bcf
3
+ metadata.gz: b10f197a1f97da84bc7b0c17dfcb873e4901a0f7
4
+ data.tar.gz: dce665b4d085c519b8c755bad6dd654249d34f7d
5
5
  SHA512:
6
- metadata.gz: 2e310fca939433ed0a4f60c161fba186445f8ac89700912dfe564f66cc8ec0e395174f179d7b1314c08a83d83818d004a519b0e9cfb480555f9289f68ab1c4be
7
- data.tar.gz: f089f5e839ed148eaa28491244ab4f70a1331283252e5c67b9e718f10f2854a0b5ab654a4b68cbf49884361033e5ab705339264dcd1cbb0b00b25435f123cfc7
6
+ metadata.gz: 00b645bc9b04f85a6b150ae1308385a9d15bcbbc62358777e1ee6863e5f2cc8df43dbe4209864141ff627f855e4f1243734cbd422d33c7421dcdcc0ecda9a05a
7
+ data.tar.gz: 6dc8df302834aebca1fae07f01f2940743e48647eb01144c46e8d78c625e9307d3cbb51ada090189d9ea260f71e1263f3f6cf149c4e23643e1db428e4e293bae
data/README.md CHANGED
@@ -20,8 +20,8 @@ The module naming scheme of this gem is inline with how the API is documented.
20
20
  ```ruby
21
21
  require 'edmunds'
22
22
  => true
23
- result = Edmunds::Vehicle::Specification::VinDecoding::Basic.find("JHMAP11461T005905")
24
- => #<Edmunds::Vehicle::Specification::VinDecoding::Basic:0x007faa2a0e4e40 @make="Honda", @model="S2000", @year=2001>
23
+ result = Edmunds::Vehicle::Specification::VinDecoding::Full.find("JHMAP11461T005905")
24
+ => #<Edmunds::Vehicle::Specification::VinDecoding::Full:0x007faa2a0e4e40 @make="Honda", @model="S2000", @year=2001>
25
25
  result = Edmunds::Vehicle::Specification::Style::StylesDetails.find("honda", "s2000", 2001)
26
26
  => #<Edmunds::Vehicle::Specification::Style::StylesDetails:0x007fbc719fd028 @count=1, @styles=[#<Edmunds::Vehicle::Specification::Style::Style:0x007fbc719fcf88 @id=100001280, @name="2dr Roadster (2.0L 4cyl 6M)", @trim="Base", @body="Convertible">]>
27
27
 
@@ -21,8 +21,8 @@ module Edmunds
21
21
  def initialize(response)
22
22
  error = JSON.parse(response.body)
23
23
 
24
- @error_type = error['error']['errorType']
25
- @message = error['error']['message']
24
+ @error_type = error['errorType']
25
+ @message = error['message']
26
26
  end
27
27
  end
28
28
  end
@@ -1,3 +1,3 @@
1
1
  module Edmunds
2
- VERSION = '0.0.6'
2
+ VERSION = '0.0.7'
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: edmunds
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.6
4
+ version: 0.0.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jason Parraga
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-08-23 00:00:00.000000000 Z
11
+ date: 2015-11-12 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -179,7 +179,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
179
179
  version: '0'
180
180
  requirements: []
181
181
  rubyforge_project:
182
- rubygems_version: 2.4.6
182
+ rubygems_version: 2.4.8
183
183
  signing_key:
184
184
  specification_version: 4
185
185
  summary: Gem to wrap Edmunds.com API