Class: Honeymaker::Result::Success
- Inherits:
-
Result
- Object
- Result
- Honeymaker::Result::Success
- Defined in:
- lib/honeymaker/result.rb
Instance Method Summary collapse
-
#initialize(data = nil) ⇒ Success
constructor
A new instance of Success.
Constructor Details
#initialize(data = nil) ⇒ Success
Returns a new instance of Success.
33 34 35 36 |
# File 'lib/honeymaker/result.rb', line 33 def initialize(data = nil) @data = data @errors = [] end |