Class: OpConnect::Object

Inherits:
SimpleDelegator
  • Object
show all
Defined in:
lib/op_connect/object.rb

Instance Method Summary collapse

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