Class: EndecaOnDemand::Response::AppliedFilters
- Includes:
- PP
- Defined in:
- lib/endeca_on_demand/response/applied_filters.rb,
lib/endeca_on_demand/response/applied_filters/search_report.rb,
lib/endeca_on_demand/response/applied_filters/search_report/search.rb,
lib/endeca_on_demand/response/applied_filters/selected_dimension_value_id.rb
Defined Under Namespace
Classes: SearchReport, SelectedDimensionValueId
Instance Attribute Summary collapse
-
#response ⇒ Object
readonly
fields ##.
-
#search_reports ⇒ Object
readonly
associations ##.
Attributes inherited from Proxy
Instance Method Summary collapse
-
#class ⇒ Object
override proxy ##.
-
#initialize(response, xml) ⇒ AppliedFilters
constructor
A new instance of AppliedFilters.
- #inspect_attributes ⇒ Object
- #selected_dimension_value_ids ⇒ Object
Methods included from PP
Methods inherited from Proxy
Constructor Details
#initialize(response, xml) ⇒ AppliedFilters
Returns a new instance of AppliedFilters.
13 14 15 |
# File 'lib/endeca_on_demand/response/applied_filters.rb', line 13 def initialize(response, xml) @response, @xml = response, xml end |
Dynamic Method Handling
This class handles dynamic methods through the method_missing method in the class EndecaOnDemand::Proxy
Instance Attribute Details
#response ⇒ Object (readonly)
fields ##
11 12 13 |
# File 'lib/endeca_on_demand/response/applied_filters.rb', line 11 def response @response end |
#search_reports ⇒ Object (readonly)
associations ##
11 12 13 |
# File 'lib/endeca_on_demand/response/applied_filters.rb', line 11 def search_reports @search_reports end |
Instance Method Details
#class ⇒ Object
override proxy ##
19 20 21 |
# File 'lib/endeca_on_demand/response/applied_filters.rb', line 19 def class EndecaOnDemand::Response::AppliedFilters end |
#inspect_attributes ⇒ Object
7 |
# File 'lib/endeca_on_demand/response/applied_filters.rb', line 7 def inspect_attributes; [ :search_reports, :selected_dimension_value_ids ]; end |
#selected_dimension_value_ids ⇒ Object
31 32 33 |
# File 'lib/endeca_on_demand/response/applied_filters.rb', line 31 def selected_dimension_value_ids @selected_dimension_value_ids ||= EndecaOnDemand::Collection.new(EndecaOnDemand::Response::AppliedFilters::SelectedDimensionValueId, xml.children.css('SelectedDimensionValueIds > DimensionValueId'), self) end |