Class: Gitlab::APIAuthentication::Builder

Inherits:
Object
  • Object
show all
Defined in:
lib/gitlab/api_authentication/builder.rb

Instance Method Summary collapse

Instance Method Details

#build {|::Gitlab::APIAuthentication::TokenTypeBuilder.new(strategies)| ... } ⇒ Object


11
12
13
14
15
# File 'lib/gitlab/api_authentication/builder.rb', line 11

def build
  strategies = Hash.new([])
  yield ::Gitlab::APIAuthentication::TokenTypeBuilder.new(strategies)
  strategies
end