Module Core::Providers::Multiverse::Interfaces::PropertyPopulator
In: core/serviceproviders/multiverse/interfaces.rb

Each property populator will be able to automatically populate a property on behalf of the user.

Methods

invoke  

Public Instance methods

Invoke the populator. This method expects two parameters:

objects that represents the current set of properties for the node. The method returns an Array of properties that have been modified, an empty array if none have been.

[Source]

# File core/serviceproviders/multiverse/interfaces.rb, line 69
          def invoke(params={}) 
            if ([:node_id, :properties, :controller] & params.keys).size != 3
              raise "Please invoke this populator passing at least the following options: :node_id, :properties, :controller"
            end
            
            on_invoke(params)
          end

[Validate]