Class: EndecaOnDemand::Response::AppliedFilters::SelectedDimensionValueId

Inherits:
Proxy
  • Object
show all
Includes:
PP
Defined in:
lib/endeca_on_demand/response/applied_filters/selected_dimension_value_id.rb

Instance Attribute Summary collapse

Attributes inherited from Proxy

#xml

Instance Method Summary collapse

Methods included from PP

#inspect, #pretty_print

Methods inherited from Proxy

#inspect

Constructor Details

#initialize(applied_filters, xml) ⇒ SelectedDimensionValueId

Returns a new instance of SelectedDimensionValueId.



14
15
16
# File 'lib/endeca_on_demand/response/applied_filters/selected_dimension_value_id.rb', line 14

def initialize(applied_filters, xml)
  @applied_filters, @xml = applied_filters, xml
end

Dynamic Method Handling

This class handles dynamic methods through the method_missing method in the class EndecaOnDemand::Proxy

Instance Attribute Details

#applied_filtersObject (readonly)

fields ##



12
13
14
# File 'lib/endeca_on_demand/response/applied_filters/selected_dimension_value_id.rb', line 12

def applied_filters
  @applied_filters
end

Instance Method Details

#classObject

override proxy ##



20
21
22
# File 'lib/endeca_on_demand/response/applied_filters/selected_dimension_value_id.rb', line 20

def class
  EndecaOnDemand::Response::AppliedFilters::SelectedDimensionValueId
end

#inspect_attributesObject



8
# File 'lib/endeca_on_demand/response/applied_filters/selected_dimension_value_id.rb', line 8

def inspect_attributes; [ :value ]; end

#valueObject Also known as: to_s

data ##



28
29
30
# File 'lib/endeca_on_demand/response/applied_filters/selected_dimension_value_id.rb', line 28

def value
  xml.content
end