Class: EndecaOnDemand::Response::Dimension::DimensionValue

Inherits:
Proxy
  • Object
show all
Includes:
PP
Defined in:
lib/endeca_on_demand/response/dimension/dimension_value.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(dimension, xml) ⇒ DimensionValue

Returns a new instance of DimensionValue.



14
15
16
17
18
# File 'lib/endeca_on_demand/response/dimension/dimension_value.rb', line 14

def initialize(dimension, xml)
  @dimension, @xml = dimension, xml

  define_getters(:options)
end

Dynamic Method Handling

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

Instance Attribute Details

#dimensionObject (readonly)

fields ##



12
13
14
# File 'lib/endeca_on_demand/response/dimension/dimension_value.rb', line 12

def dimension
  @dimension
end

#optionsObject (readonly)

data ##



12
13
14
# File 'lib/endeca_on_demand/response/dimension/dimension_value.rb', line 12

def options
  @options
end

Instance Method Details

#classObject

override proxy ##



22
23
24
# File 'lib/endeca_on_demand/response/dimension/dimension_value.rb', line 22

def class
  EndecaOnDemand::Response::Dimension::DimensionValue
end

#inspect_attributesObject



8
# File 'lib/endeca_on_demand/response/dimension/dimension_value.rb', line 8

def inspect_attributes; [ :options ]; end