Class: DataShift::InternalMethodBinding
- Inherits:
-
MethodBinding
- Object
- MethodBinding
- DataShift::InternalMethodBinding
- Defined in:
- lib/datashift/inbound_data/method_binding.rb
Instance Attribute Summary
Attributes inherited from MethodBinding
#inbound_column, #model_method, #valid
Instance Method Summary collapse
- #index ⇒ Object
-
#initialize(model_method) ⇒ InternalMethodBinding
constructor
Store an internal custom Operator to be called on klass Enables data to be set on a klass when no header/inbound data present For example to set default data, or for custom processing of inbound data.
- #source ⇒ Object
Methods inherited from MethodBinding
#add_column_data, #add_lookup, #class_name, #invalid?, #klass, #operator, #operator?, #pp, #spp, #valid?
Methods included from Logging
#logdir, #logdir=, #logger, #verbose
Constructor Details
#initialize(model_method) ⇒ InternalMethodBinding
Store an internal custom Operator to be called on klass Enables data to be set on a klass when no header/inbound data present For example to set default data, or for custom processing of inbound data
114 115 116 117 |
# File 'lib/datashift/inbound_data/method_binding.rb', line 114 def initialize(model_method) @model_method = model_method @valid = true end |