Class: GreenGoose::Action
- Inherits:
-
SimpleDelegator
- Object
- SimpleDelegator
- GreenGoose::Action
- Defined in:
- lib/greengoose/action.rb
Instance Method Summary collapse
-
#initialize(attributes) ⇒ Action
constructor
A new instance of Action.
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 |