Sha256: a9046b5ed9fbd8d239bcfaa4422b55821b079cbc05932ef61b1316c7d7dae132

Contents?: true

Size: 423 Bytes

Versions: 10

Compression:

Stored size: 423 Bytes

Contents

module Arpa
  module Services
    module Roles
      class RoleManagerCreator
        include Arpa::Services::Base

        def create(params, callback)
          manager_action callback do
            role_creator.create(params[:role])
          end
        end

        private

        def role_creator
          @role_creator ||= Arpa::Services::Roles::Create::RoleCreator.new
        end

      end
    end
  end
end

Version data entries

10 entries across 10 versions & 1 rubygems

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