Module: Eco::API::Session::Batch::Launcher::ValidMethods::ClassMethods

Defined in:
lib/eco/api/session/batch/launcher/valid_methods.rb

Instance Method Summary collapse

Instance Method Details

#valid_method?(value) ⇒ Boolean

Returns true if the method is supported, false otherwise.

Returns:

  • (Boolean)

    true if the method is supported, false otherwise.



17
18
19
# File 'lib/eco/api/session/batch/launcher/valid_methods.rb', line 17

def valid_method?(value)
  VALID_METHODS.include?(value)
end