Class: Workato::Connector::Sdk::MissingRequiredInput
- Inherits:
-
RuntimeError
- Object
- Workato::Connector::Sdk::MissingRequiredInput
- Defined in:
- lib/workato/connector/sdk/errors.rb
Instance Method Summary collapse
-
#initialize(label, toggle_label) ⇒ MissingRequiredInput
constructor
A new instance of MissingRequiredInput.
Constructor Details
#initialize(label, toggle_label) ⇒ MissingRequiredInput
108 109 110 111 112 113 114 115 |
# File 'lib/workato/connector/sdk/errors.rb', line 108 def initialize(label, toggle_label) = if toggle_label && label != toggle_label "Either '#{label}' or '#{toggle_label}' must be present" else "'#{label}' must be present" end super() end |