Class: GreenGoose::Action

Inherits:
SimpleDelegator
  • Object
show all
Defined in:
lib/greengoose/action.rb

Instance Method Summary collapse

Constructor Details

#initialize(attributes) ⇒ Action

Returns a new instance of Action.



6
7
8
# File 'lib/greengoose/action.rb', line 6

def initialize(attributes)
  super OpenStruct.new(attributes)
end