Class: Arpa::Services::Profiles::ProfileManagerCreator

Inherits:
Object
  • Object
show all
Includes:
Base
Defined in:
lib/arpa/services/profiles/profile_manager_creator.rb

Instance Method Summary collapse

Methods included from Base

included, #manager_action

Instance Method Details

#create(params, callback) ⇒ Object



7
8
9
10
11
# File 'lib/arpa/services/profiles/profile_manager_creator.rb', line 7

def create(params, callback)
  manager_action callback do
    profile_creator.create(params[:profile])
  end
end