Sha256: bebd72a8641c28e20d9023fbcc0d45f3c75694888fe64082152bb00ca07cc29b

Contents?: true

Size: 446 Bytes

Versions: 10

Compression:

Stored size: 446 Bytes

Contents

module Arpa
  module Services
    module Profiles
      class ProfileManagerCreator
        include Arpa::Services::Base

        def create(params, callback)
          manager_action callback do
            profile_creator.create(params[:profile])
          end
        end

        private

        def profile_creator
          @profile_creator ||= Arpa::Services::Profiles::Create::ProfileCreator.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/profiles/profile_manager_creator.rb
arpa-0.1.0 lib/arpa/services/profiles/profile_manager_creator.rb
arpa-0.0.9 lib/arpa/services/profiles/profile_manager_creator.rb
arpa-0.0.8 lib/arpa/services/profiles/profile_manager_creator.rb
arpa-0.0.7 lib/arpa/services/profiles/profile_manager_creator.rb
arpa-0.0.6 lib/arpa/services/profiles/profile_manager_creator.rb
arpa-0.0.5 lib/arpa/services/profiles/profile_manager_creator.rb
arpa-0.0.4 lib/arpa/services/profiles/profile_manager_creator.rb
arpa-0.0.3 lib/arpa/services/profiles/profile_manager_creator.rb
arpa-0.0.2 lib/arpa/services/profiles/profile_manager_creator.rb