class Arpa::Repositories::Profiles::Updater

Public Instance Methods

mapper_instance() click to toggle source
# File lib/arpa/repositories/profiles/updater.rb, line 12
def mapper_instance
  Arpa::DataMappers::ProfileMapper.instance
end
post_update(entity, record) click to toggle source
# File lib/arpa/repositories/profiles/updater.rb, line 7
def post_update(entity, record)
  record.role_ids = entity.role_ids
  record.save!
end
repository_class() click to toggle source
# File lib/arpa/repositories/profiles/updater.rb, line 16
def repository_class
  RepositoryProfile
end