class Checkability::Checker
@abstract
Public Instance Methods
handle(_handler)
click to toggle source
@abstract
@param [String] request
@return [String, nil]
# File lib/checkability/checker.rb, line 28 def handle(_handler) raise NotImplementedError, "#{self.class} has not implemented method '#{__method__}'" end
message(_res, _str)
click to toggle source
@abstract
@params [Boolean], [String]
@return [String]
# File lib/checkability/checker.rb, line 55 def message(_res, _str) raise NotImplementedError, "#{self.class} has not implemented method '#{__method__}'" end
next_handler=(_handler)
click to toggle source
@abstract
@param [Handler] handler
# File lib/checkability/checker.rb, line 19 def next_handler=(_handler) raise NotImplementedError, "#{self.class} has not implemented method '#{__method__}'" end
post_initialize(_opts)
click to toggle source
hook method to initialize concreet attributes @abstract
@param [Hash]
@return new object
# File lib/checkability/checker.rb, line 12 def post_initialize(_opts) raise NotImplementedError, "#{self.class} has not implemented method '#{__method__}'" end
result(_object)
click to toggle source
@abstract
@param [Checkable object] request
@return [Boolean, true|false]
# File lib/checkability/checker.rb, line 46 def result(_object) raise NotImplementedError, "#{self.class} has not implemented method '#{__method__}'" end
result_and_message(_object)
click to toggle source
@abstract
@param [String] request
@return Array [ [Boolean, true|false], String, message] ]
# File lib/checkability/checker.rb, line 37 def result_and_message(_object) raise NotImplementedError, "#{self.class} has not implemented method '#{__method__}'" end