Class: ConvenientService::Examples::Standard::ComprehensiveSuite::Services::ErrorService
- Inherits:
-
Object
- Object
- ConvenientService::Examples::Standard::ComprehensiveSuite::Services::ErrorService
- Includes:
- Service::Configs::Standard
- Defined in:
- lib/convenient_service/examples/standard/comprehensive_suite/services/error_service.rb
Instance Attribute Summary collapse
-
#index ⇒ Object
readonly
Returns the value of attribute index.
Instance Method Summary collapse
Constructor Details
#initialize(index: -1)) ⇒ void
21 22 23 |
# File 'lib/convenient_service/examples/standard/comprehensive_suite/services/error_service.rb', line 21 def initialize(index: -1) @index = index end |
Instance Attribute Details
#index ⇒ Object (readonly)
Returns the value of attribute index.
15 16 17 |
# File 'lib/convenient_service/examples/standard/comprehensive_suite/services/error_service.rb', line 15 def index @index end |
Instance Method Details
#result ⇒ ConvenientService::Result
28 29 30 |
# File 'lib/convenient_service/examples/standard/comprehensive_suite/services/error_service.rb', line 28 def result error(index: index) end |