Class: RailsSimpleEventSourcing::Result

Inherits:
Struct
  • Object
show all
Defined in:
lib/rails_simple_event_sourcing/result.rb

Instance Attribute Summary collapse

Instance Attribute Details

#dataObject

Returns the value of attribute data

Returns:

  • (Object)

    the current value of data



4
5
6
# File 'lib/rails_simple_event_sourcing/result.rb', line 4

def data
  @data
end

#errorsObject

Returns the value of attribute errors

Returns:

  • (Object)

    the current value of 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?

Returns:

  • (Object)

    the current value of success?



4
5
6
# File 'lib/rails_simple_event_sourcing/result.rb', line 4

def success?
  @success?
end