Class: EndecaOnDemand::Response::BusinessRulesResult

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

Defined Under Namespace

Classes: BusinessRule

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) ⇒ BusinessRulesResult


13
14
15
# File 'lib/endeca_on_demand/response/business_rules_result.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

#business_rulesObject (readonly)

associations ##


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

def business_rules
  @business_rules
end

#responseObject (readonly)

fields ##


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

def response
  @response
end

Instance Method Details

#classObject

override proxy ##


19
20
21
# File 'lib/endeca_on_demand/response/business_rules_result.rb', line 19

def class
  EndecaOnDemand::Response::BusinessRulesResult
end

#inspect_attributesObject


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

def inspect_attributes; [ :business_rules ]; end