Class: ActionFactory::Configuration
- Inherits:
-
Object
- Object
- ActionFactory::Configuration
- Defined in:
- lib/action_factory.rb
Instance Attribute Summary collapse
-
#initialize_method ⇒ Object
Returns the value of attribute initialize_method.
-
#persist_method ⇒ Object
Returns the value of attribute persist_method.
Instance Method Summary collapse
-
#initialize ⇒ Configuration
constructor
A new instance of Configuration.
Constructor Details
#initialize ⇒ Configuration
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_method ⇒ Object
Returns the value of attribute initialize_method.
11 12 13 |
# File 'lib/action_factory.rb', line 11 def initialize_method @initialize_method end |
#persist_method ⇒ Object
Returns the value of attribute persist_method.
11 12 13 |
# File 'lib/action_factory.rb', line 11 def persist_method @persist_method end |