Module: ActiveFactory::API::ClassMethods
- Defined in:
- lib/active_factory.rb
Instance Method Summary collapse
Instance Method Details
#factory_attributes(model_name, index = 0) ⇒ Object
18 19 20 21 22 |
# File 'lib/active_factory.rb', line 18 def factory_attributes model_name, index = 0 Define. factories_hash[model_name]. attributes_for(index) end |