Module: ValidTransitions::InputValidator

Extended by:
InputValidator
Included in:
InputValidator
Defined in:
lib/valid_transitions/input_validator.rb

Instance Method Summary collapse

Instance Method Details

#validate_options(options) ⇒ Object



7
8
9
10
11
# File 'lib/valid_transitions/input_validator.rb', line 7

def validate_options(options)
  transitions = options[:transitions]
  validate_transition_type_and_presence(transitions)
  validate_transition_content(transitions)
end