Module: Services::ConfiguredAccountCreator
- Defined in:
- app/roles/services/configured_account_creator.rb
Instance Method Summary collapse
Instance Method Details
#create(params) ⇒ Object
5 6 7 8 9 |
# File 'app/roles/services/configured_account_creator.rb', line 5 def create(params) configured_accounts.new(params).tap do | configured_account | configured_account.save if configured_account.valid? end end |