Sha256: 91fa1fcadc29e0141a481cce2e02339e66c4e51984cceaafb9351564b923dad0

Contents?: true

Size: 265 Bytes

Versions: 9

Compression:

Stored size: 265 Bytes

Contents

module Edmunds
  module Vehicle
    module Colors

      def details(color_id)
        send_request "/colors/#{color_id}"
      end

      def by_style_id(style_id, options={})
        send_request "/styles/#{style_id}/colors", 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/colors.rb
edmunds_api-0.1.7 lib/edmunds/vehicle/colors.rb
edmunds_api-0.1.6 lib/edmunds/vehicle/colors.rb
edmunds_api-0.1.5 lib/edmunds/vehicle/colors.rb
edmunds_api-0.1.4 lib/edmunds/vehicle/colors.rb
edmunds_api-0.1.3 lib/edmunds/vehicle/colors.rb
edmunds_api-0.1.2 lib/edmunds/vehicle/colors.rb
edmunds_api-0.1.1 lib/edmunds/vehicle/colors.rb
edmunds_api-0.1.0 lib/edmunds/vehicle/colors.rb