Class: CommandServiceObject::Configuration
- Inherits:
-
Object
- Object
- CommandServiceObject::Configuration
- Defined in:
- lib/command_service_object/configuration.rb
Instance Attribute Summary collapse
-
#append_controller_helper ⇒ Object
Returns the value of attribute append_controller_helper.
-
#command_method_name ⇒ Object
Returns the value of attribute command_method_name.
-
#skip_command ⇒ Object
Returns the value of attribute skip_command.
-
#skip_error ⇒ Object
Returns the value of attribute skip_error.
-
#skip_test ⇒ Object
Returns the value of attribute skip_test.
Instance Method Summary collapse
-
#initialize ⇒ Configuration
constructor
A new instance of Configuration.
Constructor Details
#initialize ⇒ Configuration
Returns a new instance of Configuration.
6 7 8 9 10 11 12 |
# File 'lib/command_service_object/configuration.rb', line 6 def initialize @append_controller_helper = true @command_method_name = :command @skip_command = false @skip_test = false @skip_error = true end |
Instance Attribute Details
#append_controller_helper ⇒ Object
Returns the value of attribute append_controller_helper.
3 4 5 |
# File 'lib/command_service_object/configuration.rb', line 3 def append_controller_helper @append_controller_helper end |
#command_method_name ⇒ Object
Returns the value of attribute command_method_name.
3 4 5 |
# File 'lib/command_service_object/configuration.rb', line 3 def command_method_name @command_method_name end |
#skip_command ⇒ Object
Returns the value of attribute skip_command.
4 5 6 |
# File 'lib/command_service_object/configuration.rb', line 4 def skip_command @skip_command end |
#skip_error ⇒ Object
Returns the value of attribute skip_error.
4 5 6 |
# File 'lib/command_service_object/configuration.rb', line 4 def skip_error @skip_error end |
#skip_test ⇒ Object
Returns the value of attribute skip_test.
4 5 6 |
# File 'lib/command_service_object/configuration.rb', line 4 def skip_test @skip_test end |