Module: Edmunds::Vehicle::Options

Defined in:
lib/edmunds/vehicle/options.rb

Instance Method Summary collapse

Instance Method Details

#by_style_id(style_id, options = {}) ⇒ Object



9
10
11
# File 'lib/edmunds/vehicle/options.rb', line 9

def by_style_id(style_id, options={})
  send_request "/styles/#{style_id}/options", options
end

#details(option_id) ⇒ Object



5
6
7
# File 'lib/edmunds/vehicle/options.rb', line 5

def details(option_id)
  send_request "/options/#{option_id}"
end