module Edmunds::Media::Photos
Public Instance Methods
by_make_model(make, model, options={})
click to toggle source
# File lib/edmunds/media/photos.rb, line 18 def by_make_model(make, model, options={}) send_request "/#{make}/#{model}/photos", options end
by_style_id(style_id, options={})
click to toggle source
# File lib/edmunds/media/photos.rb, line 14 def by_style_id(style_id, options={}) send_request "/styles/#{style_id}/photos", options end
by_tag(tag, options={})
click to toggle source
# File lib/edmunds/media/photos.rb, line 9 def by_tag(tag, options={}) options = {tag: tag}.merge(options) send_request '/photoset', options end
by_year_make_model(year, make, model, options={})
click to toggle source
# File lib/edmunds/media/photos.rb, line 5 def by_year_make_model(year, make, model, options={}) send_request "/#{make}/#{model}/#{year}/photos", options end