Module: Jujube::Components::Parameters

Extended by:
Macros
Included in:
Jujube::Components
Defined in:
lib/jujube/components/parameters.rb

Overview

Helper methods for creating job parameter components.

Instance Method Summary collapse

Instance Method Details

#string(options = {}) ⇒ Hash

Parameters:

  • options (Hash) (defaults to: {})

    The configuration options for the component.

Returns:

  • (Hash)

    The specification for the component.



15
# File 'lib/jujube/components/parameters.rb', line 15

standard_component :string

#validating_string(options = {}) ⇒ Hash

Parameters:

  • options (Hash) (defaults to: {})

    The configuration options for the component.

Returns:

  • (Hash)

    The specification for the component.



24
# File 'lib/jujube/components/parameters.rb', line 24

standard_component :validating_string