Class: RailsSimpleEventSourcing::Result
- Inherits:
-
Struct
- Object
- Struct
- RailsSimpleEventSourcing::Result
- Defined in:
- lib/rails_simple_event_sourcing/result.rb
Instance Attribute Summary collapse
-
#data ⇒ Object
Returns the value of attribute data.
-
#errors ⇒ Object
Returns the value of attribute errors.
-
#success? ⇒ Object
Returns the value of attribute success?.
Instance Attribute Details
#data ⇒ Object
Returns the value of attribute data
4 5 6 |
# File 'lib/rails_simple_event_sourcing/result.rb', line 4 def data @data end |
#errors ⇒ Object
Returns the value of attribute errors
4 5 6 |
# File 'lib/rails_simple_event_sourcing/result.rb', line 4 def errors @errors end |
#success? ⇒ Object
Returns the value of attribute success?
4 5 6 |
# File 'lib/rails_simple_event_sourcing/result.rb', line 4
def success?
@success?
end
|