Class: EndecaOnDemand::Response::BusinessRulesResult::BusinessRule

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

Returns a new instance of BusinessRule


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

def initialize(records_set, xml)
  @records_set, @xml = records_set, 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

#optionsObject (readonly)

data ##


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

def options
  @options
end

#propertiesObject (readonly)

associations ##


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

def properties
  @properties
end

#records_setObject (readonly)

fields ##


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

def records_set
  @records_set
end

Instance Method Details

#classObject

override proxy ##


22
23
24
# File 'lib/endeca_on_demand/response/business_rules_result/business_rule.rb', line 22

def class
  EndecaOnDemand::Response::BusinessRulesResult::BusinessRule
end

#inspect_attributesObject


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

def inspect_attributes; [ :options, :properties, :records_set ]; end