Class: EndecaOnDemand::Response::Breadcrumb

Inherits:
Proxy
  • Object
show all
Includes:
PP
Defined in:
lib/endeca_on_demand/response/breadcrumb.rb,
lib/endeca_on_demand/response/breadcrumb/bread.rb

Defined Under Namespace

Classes: Bread

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(response, xml) ⇒ Breadcrumb


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

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

#breadsObject

associations ##


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

def breads
  @breads
end

#responseObject (readonly)

fields ##


11
12
13
# File 'lib/endeca_on_demand/response/breadcrumb.rb', line 11

def response
  @response
end

Instance Method Details

#classObject

override proxy ##


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

def class
  EndecaOnDemand::Response::Breadcrumb
end

#inspect_attributesObject


7
# File 'lib/endeca_on_demand/response/breadcrumb.rb', line 7

def inspect_attributes; [ :breads ]; end