Class: Whoosh::ClientGen::IR::Auth

Inherits:
Struct
  • Object
show all
Defined in:
lib/whoosh/client_gen/ir.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(type:, endpoints:, oauth_providers: []) ⇒ Auth

Returns a new instance of Auth.



21
22
23
# File 'lib/whoosh/client_gen/ir.rb', line 21

def initialize(type:, endpoints:, oauth_providers: [])
  super
end

Instance Attribute Details

#endpointsObject

Returns the value of attribute endpoints

Returns:

  • (Object)

    the current value of endpoints



20
21
22
# File 'lib/whoosh/client_gen/ir.rb', line 20

def endpoints
  @endpoints
end

#oauth_providersObject

Returns the value of attribute oauth_providers

Returns:

  • (Object)

    the current value of oauth_providers



20
21
22
# File 'lib/whoosh/client_gen/ir.rb', line 20

def oauth_providers
  @oauth_providers
end

#typeObject

Returns the value of attribute type

Returns:

  • (Object)

    the current value of type



20
21
22
# File 'lib/whoosh/client_gen/ir.rb', line 20

def type
  @type
end