Sha256: 3e0ba3a22d646f1897e5634f70f73d898d4f77d28cf5659d19b97864d67eef72

Contents?: true

Size: 365 Bytes

Versions: 2

Compression:

Stored size: 365 Bytes

Contents

module Kamerling class Registrar
  def register addr: req(:addr), client_uuid: req(:client_uuid),
               project_uuid: req(:project_uuid), repos: Repos
    client  = repos[Client][client_uuid]
    project = repos[Project][project_uuid]
    reg     = Registration.new addr: addr, client: client, project: project
    repos[Registration] << reg
  end
end end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
kamerling-0.0.2 lib/kamerling/registrar.rb
kamerling-0.0.1 lib/kamerling/registrar.rb