Class: OpConnect::Object
- Inherits:
-
SimpleDelegator
- Object
- SimpleDelegator
- OpConnect::Object
- Defined in:
- lib/op_connect/object.rb
Instance Method Summary collapse
-
#initialize(attributes) ⇒ Object
constructor
A new instance of Object.
Constructor Details
#initialize(attributes) ⇒ Object
Returns a new instance of Object.
5 6 7 |
# File 'lib/op_connect/object.rb', line 5 def initialize(attributes) super to_ostruct(attributes) end |