Exception: CodinRep::EmployeeCommand::UnknownEmployeeOperation
- Inherits:
-
StandardError
- Object
- StandardError
- CodinRep::EmployeeCommand::UnknownEmployeeOperation
- Defined in:
- lib/codin_rep/employee_command.rb
Instance Method Summary collapse
-
#initialize(operation_type) ⇒ UnknownEmployeeOperation
constructor
A new instance of UnknownEmployeeOperation.
- #message ⇒ Object
Constructor Details
#initialize(operation_type) ⇒ UnknownEmployeeOperation
28 29 30 |
# File 'lib/codin_rep/employee_command.rb', line 28 def initialize(operation_type) @operation_type = operation_type end |
Instance Method Details
#message ⇒ Object
32 33 34 |
# File 'lib/codin_rep/employee_command.rb', line 32 def = "Unknown employee operation type '#{@operation_type}'." end |