Method: Avmtrf1::Oracle::Object.factory_get
- Defined in:
- lib/avmtrf1/oracle/object.rb
.factory_get(connection, attributes) ⇒ Object
11 12 13 14 15 |
# File 'lib/avmtrf1/oracle/object.rb', line 11 def factory_get(connection, attributes) return nil if attributes.blank? type_class(attributes.fetch(:type)).new(connection, attributes) end |