Sha256: 388fa6cc1b971e8e497a6bbbb5ebf76a3c9c2ae099f33aeb26d1959eb4aa6ee7

Contents?: true

Size: 175 Bytes

Versions: 2

Compression:

Stored size: 175 Bytes

Contents

class NewUserService
  @Inject
  def initialize(user_repository)
    @user_repository = user_repository
  end

  def call(*params)
    @user_repository.new(*params)
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
habu-0.2.0 example/new_user_service.rb
habu-0.1.1 example/new_user_service.rb