Class: BaseOperationService

Inherits:
Object
  • Object
show all
Defined in:
app/services/base_operation_service.rb

Overview

typed: true frozen_string_literal: true

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#outcomeObject

Returns the value of attribute outcome.



9
10
11
# File 'app/services/base_operation_service.rb', line 9

def outcome
  @outcome
end

Instance Method Details

#success?Boolean

Returns:

  • (Boolean)


5
6
7
# File 'app/services/base_operation_service.rb', line 5

def success?
  @status == true
end