Sha256: 615421989c1f669428fab0ebfb886bda07725a915e9d4b432247c720b52f24ec

Contents?: true

Size: 498 Bytes

Versions: 9

Compression:

Stored size: 498 Bytes

Contents

module Edmunds
  module Vehicle
    module Grades

      def by_style_id(style_id)
        send_request "/styles/#{style_id}/grade"
      end

      def details(make, model, year)
        send_request "/#{make}/#{model}/#{year}/grade"
      end

      def rating(make, model, year)
        send_request "/grade/#{make}/#{model}/#{year}"
      end

      def by_review_id(make, model, year, review_id)
        send_request "/#{make}/#{model}/#{year}/grade/#{review_id}"
      end

    end
  end
end

Version data entries

9 entries across 9 versions & 1 rubygems

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