Sha256: 1310cb67e7f0a135c94383c1c7e4f8ca68f387baea20055dcbf08a4f901f3ec7

Contents?: true

Size: 429 Bytes

Versions: 10

Compression:

Stored size: 429 Bytes

Contents

module Arpa
  module Repositories
    module Roles
      class Updater
        include Arpa::Repositories::Registrator

        def post_update(entity, record)
          record.action_ids = entity.action_ids
          record.save!
        end

        def mapper_instance
          Arpa::DataMappers::RoleMapper.instance
        end

        def repository_class
          RepositoryRole
        end

      end
    end
  end
end

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
arpa-0.2.0 lib/arpa/repositories/roles/updater.rb
arpa-0.1.0 lib/arpa/repositories/roles/updater.rb
arpa-0.0.9 lib/arpa/repositories/roles/updater.rb
arpa-0.0.8 lib/arpa/repositories/roles/updater.rb
arpa-0.0.7 lib/arpa/repositories/roles/updater.rb
arpa-0.0.6 lib/arpa/repositories/roles/updater.rb
arpa-0.0.5 lib/arpa/repositories/roles/updater.rb
arpa-0.0.4 lib/arpa/repositories/roles/updater.rb
arpa-0.0.3 lib/arpa/repositories/roles/updater.rb
arpa-0.0.2 lib/arpa/repositories/roles/updater.rb