Sha256: 6324867771cad8f535f5baa88847e892bf07760c1aaff44324b8803cf2732deb

Contents?: true

Size: 784 Bytes

Versions: 5

Compression:

Stored size: 784 Bytes

Contents

module EndecaOnDemand
  class Response
    class BusinessRulesResult < EndecaOnDemand::Proxy

      include EndecaOnDemand::PP

      def inspect_attributes; [ :business_rules ]; end

      ## fields ##

      attr_reader :business_rules, :response

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

      ## override proxy ##

      def class
        EndecaOnDemand::Response::BusinessRulesResult
      end

      ##

      ## associations ##

      def business_rules
        @business_rules ||= EndecaOnDemand::Collection.new(EndecaOnDemand::Response::BusinessRulesResult::BusinessRule, xml.children.css('BusinessRule'), self)
      end

      ##
      
    end
  end
end

require 'endeca_on_demand/response/business_rules_result/business_rule'

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
endeca_on_demand-1.3.4 lib/endeca_on_demand/response/business_rules_result.rb
endeca_on_demand-1.3.3 lib/endeca_on_demand/response/business_rules_result.rb
endeca_on_demand-1.3.2 lib/endeca_on_demand/response/business_rules_result.rb
endeca_on_demand-1.3.1 lib/endeca_on_demand/response/business_rules_result.rb
endeca_on_demand-1.3.0 lib/endeca_on_demand/response/business_rules_result.rb