Class: ChromeData::Style
- Inherits:
-
CollectionRequest
- Object
- BaseRequest
- CollectionRequest
- ChromeData::Style
- Defined in:
- lib/chrome_data/style.rb
Defined Under Namespace
Classes: BodyType
Instance Attribute Summary collapse
-
#body_types ⇒ Object
These are only populated when accessing a style through a Vehicle.
-
#name_without_trim ⇒ Object
These are only populated when accessing a style through a Vehicle.
-
#trim ⇒ Object
These are only populated when accessing a style through a Vehicle.
Attributes inherited from CollectionRequest
Class Method Summary collapse
Methods inherited from CollectionRequest
Methods inherited from BaseRequest
build_request, client, endpoint_uri, find_elements, #initialize, make_request, parse_response, request, request_name, wsdl_body
Constructor Details
This class inherits a constructor from ChromeData::BaseRequest
Instance Attribute Details
#body_types ⇒ Object
These are only populated when accessing a style through a Vehicle
6 7 8 |
# File 'lib/chrome_data/style.rb', line 6 def body_types @body_types end |
#name_without_trim ⇒ Object
These are only populated when accessing a style through a Vehicle
6 7 8 |
# File 'lib/chrome_data/style.rb', line 6 def name_without_trim @name_without_trim end |
#trim ⇒ Object
These are only populated when accessing a style through a Vehicle
6 7 8 |
# File 'lib/chrome_data/style.rb', line 6 def trim @trim end |
Class Method Details
.find_all_by_model_id(model_id) ⇒ Object
8 9 10 11 12 |
# File 'lib/chrome_data/style.rb', line 8 def self.find_all_by_model_id(model_id) ChromeData.cache "#{request_name.underscore}-model_id-#{model_id}" do request 'modelId' => model_id end end |