Sha256: b1fc07ffbf0ad900e204dd9f569bb0c42c5fa3c6aaa574d239df040c96edd4f9

Contents?: true

Size: 368 Bytes

Versions: 2

Compression:

Stored size: 368 Bytes

Contents

module Edmunds
  module Vehicle
    module Models

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

      def all_models(make, options={})
        send_request "/#{make}/models", options
      end

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

    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
edmunds_api-0.1.8 lib/edmunds/vehicle/models.rb
edmunds_api-0.1.7 lib/edmunds/vehicle/models.rb