Class: FunctionalLightService::Context::ExpectedKeyVerifier
- Inherits:
-
KeyVerifier
show all
- Defined in:
- lib/functional-light-service/context/key_verifier.rb
Instance Attribute Summary
Attributes inherited from KeyVerifier
#action, #context
Instance Method Summary
collapse
Methods inherited from KeyVerifier
#are_all_keys_in_context?, #error_message, #format_keys, #initialize, #keys_not_found, #verify, verify_keys
Instance Method Details
63
64
65
|
# File 'lib/functional-light-service/context/key_verifier.rb', line 63
def keys
action.expected_keys
end
|
#throw_error_predicate(keys) ⇒ Object
71
72
73
|
# File 'lib/functional-light-service/context/key_verifier.rb', line 71
def throw_error_predicate(keys)
!are_all_keys_in_context?(keys)
end
|
#type_name ⇒ Object
59
60
61
|
# File 'lib/functional-light-service/context/key_verifier.rb', line 59
def type_name
"expected"
end
|