Module: WorkflowTemplate::Validation::Adapter::Abstract::Result::Failure

Included in:
Validator::Result::Failure
Defined in:
lib/workflow_template/validation/adapter/abstract/result/failure.rb

Instance Method Summary collapse

Instance Method Details

#codeObject

Raises:

  • (NotImplementedError)


9
10
11
# File 'lib/workflow_template/validation/adapter/abstract/result/failure.rb', line 9

def code
  raise NotImplementedError, "#{self.class.name}##{__method__} unimplemented"
end

#dataObject

Raises:

  • (NotImplementedError)


17
18
19
# File 'lib/workflow_template/validation/adapter/abstract/result/failure.rb', line 17

def data
  raise NotImplementedError, "#{self.class.name}##{__method__} unimplemented"
end

#messageObject

Raises:

  • (NotImplementedError)


13
14
15
# File 'lib/workflow_template/validation/adapter/abstract/result/failure.rb', line 13

def message(*)
  raise NotImplementedError, "#{self.class.name}##{__method__} unimplemented"
end