Module: Conjur::Policy::Ruby::RecordFactory

Includes:
RecordReferenceFactory
Included in:
Body, Entitlements
Defined in:
lib/conjur/policy/ruby/loader.rb

Overview

Construct record properties in a block and yield the record to the loader.

Instance Method Summary collapse

Methods included from RecordReferenceFactory

#method_missing

Methods included from RecordLoader

#respond_to_missing?

Dynamic Method Handling

This class handles dynamic methods through the method_missing method in the class Conjur::Policy::Ruby::RecordReferenceFactory

Instance Method Details

#handle_object(object, &block) ⇒ Object



46
47
48
49
# File 'lib/conjur/policy/ruby/loader.rb', line 46

def handle_object object, &block
  push object
  do_scope object, &block
end