Class: CommandServiceObject::Configuration

Inherits:
Object
  • Object
show all
Defined in:
lib/command_service_object/configuration.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeConfiguration

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_helperObject

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_nameObject

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_commandObject

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_errorObject

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_testObject

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