Class: Arpa::Services::Profiles::Create::ProfileCreator

Inherits:
Object
  • Object
show all
Defined in:
lib/arpa/services/profiles/create/profile_creator.rb

Instance Method Summary collapse

Instance Method Details

#create(params) ⇒ Object



6
7
8
9
10
# File 'lib/arpa/services/profiles/create/profile_creator.rb', line 6

def create(params)
  profile = profile_instance(params)
  validate_profile(profile)
  creator_repo.create(profile)
end