Class: Arpa::Services::Profiles::Update::ProfileUpdater

Inherits:
Object
  • Object
show all
Defined in:
lib/arpa/services/profiles/update/profile_updater.rb

Instance Method Summary collapse

Instance Method Details

#update(params) ⇒ Object



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

def update(params)
  profile = profile_instance(params)
  validate_profile(profile)
  updater_repo.update(profile)
end