Class: CubitComponents::Configuration
- Inherits:
-
Object
- Object
- CubitComponents::Configuration
- Defined in:
- lib/cubit_components/configuration.rb
Instance Attribute Summary collapse
-
#placeholder_allowed ⇒ Object
Returns the value of attribute placeholder_allowed.
-
#token_validation ⇒ Object
Returns the value of attribute token_validation.
Instance Method Summary collapse
-
#initialize ⇒ Configuration
constructor
A new instance of Configuration.
Constructor Details
#initialize ⇒ Configuration
Returns a new instance of Configuration.
7 8 9 10 |
# File 'lib/cubit_components/configuration.rb', line 7 def initialize @token_validation = :warn @placeholder_allowed = true end |
Instance Attribute Details
#placeholder_allowed ⇒ Object
Returns the value of attribute placeholder_allowed.
5 6 7 |
# File 'lib/cubit_components/configuration.rb', line 5 def placeholder_allowed @placeholder_allowed end |
#token_validation ⇒ Object
Returns the value of attribute token_validation.
5 6 7 |
# File 'lib/cubit_components/configuration.rb', line 5 def token_validation @token_validation end |