Class: ActionFactory::Configuration

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeConfiguration

Returns a new instance of Configuration.



13
14
15
16
# File 'lib/action_factory.rb', line 13

def initialize
  @persist_method = :save!
  @initialize_method = :new
end

Instance Attribute Details

#initialize_methodObject

Returns the value of attribute initialize_method.



11
12
13
# File 'lib/action_factory.rb', line 11

def initialize_method
  @initialize_method
end

#persist_methodObject

Returns the value of attribute persist_method.



11
12
13
# File 'lib/action_factory.rb', line 11

def persist_method
  @persist_method
end