Class: Candid::Auth::Client

Inherits:
Object
  • Object
show all
Defined in:
lib/candid/auth/client.rb

Instance Method Summary collapse

Constructor Details

#initialize(client:) ⇒ Candid::Auth::Client



7
8
9
# File 'lib/candid/auth/client.rb', line 7

def initialize(client:)
  @client = client
end

Instance Method Details

#defaultCandid::Default::Client

Returns:

  • (Candid::Default::Client)


12
13
14
# File 'lib/candid/auth/client.rb', line 12

def default
  @default ||= Candid::Auth::Default::Client.new(client: @client)
end