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
60
61
62
|
# File 'lib/functional-light-service/context/key_verifier.rb', line 60
def keys
action.expected_keys
end
|
#throw_error_predicate(keys) ⇒ Object
68
69
70
|
# File 'lib/functional-light-service/context/key_verifier.rb', line 68
def throw_error_predicate(keys)
!are_all_keys_in_context?(keys)
end
|
#type_name ⇒ Object
56
57
58
|
# File 'lib/functional-light-service/context/key_verifier.rb', line 56
def type_name
"expected"
end
|