Method: Service::Containers#create_container!
- Defined in:
- app/models/service/containers.rb
#create_container!(wizard_state) ⇒ Object
17 18 19 20 21 22 23 24 |
# File 'app/models/service/containers.rb', line 17 def create_container!(wizard_state) ActiveRecord::Base.transaction do container = create_container_object(wizard_state) container.save! destroy_wizard_state(wizard_state) container end end |