Sha256: ee9b0dbca34caebd5080a9718e43e0c054d61aeaa240c61d1c7d517782dc3791

Contents?: true

Size: 885 Bytes

Versions: 9

Compression:

Stored size: 885 Bytes

Contents

module Edmunds
  module Vehicle
    module Styles

      def count(options={})
        send_request '/styles/count', options
      end

      def make_count(make, options={})
        send_request "/#{make}/styles/count", options
      end

      def make_model_count(make, model, options={})
        send_request "/#{make}/#{model}/styles/count", options
      end

      def make_model_year_count(make, model, year, options={})
        send_request "/#{make}/#{model}/#{year}/styles/count", options
      end

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

      def make_model_year(make, model, year, options={})
        send_request "/#{make}/#{model}/#{year}/styles", options
      end

      def chrome_data(chrome_id, options={})
        send_request "/partners/chrome/styles/#{chrome_id}", options
      end

    end
  end
end

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
edmunds_api-0.1.8 lib/edmunds/vehicle/styles.rb
edmunds_api-0.1.7 lib/edmunds/vehicle/styles.rb
edmunds_api-0.1.6 lib/edmunds/vehicle/styles.rb
edmunds_api-0.1.5 lib/edmunds/vehicle/styles.rb
edmunds_api-0.1.4 lib/edmunds/vehicle/styles.rb
edmunds_api-0.1.3 lib/edmunds/vehicle/styles.rb
edmunds_api-0.1.2 lib/edmunds/vehicle/styles.rb
edmunds_api-0.1.1 lib/edmunds/vehicle/styles.rb
edmunds_api-0.1.0 lib/edmunds/vehicle/styles.rb