Class: Spikard::ApiKeyConfig

Inherits:
Object
  • Object
show all
Defined in:
sig/types.rbs

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeApiKeyConfig

Returns a new instance of ApiKeyConfig.

Parameters:

  • keys: (Array[String])
  • header_name: (String)


211
# File 'sig/types.rbs', line 211

def initialize: (keys: Array[String], header_name: String) -> void

Instance Attribute Details

#header_nameString (readonly)

Returns the value of attribute header_name.

Returns:

  • (String)


209
210
211
# File 'sig/types.rbs', line 209

def header_name
  @header_name
end

#keysArray[String] (readonly)

Returns the value of attribute keys.

Returns:

  • (Array[String])


208
209
210
# File 'sig/types.rbs', line 208

def keys
  @keys
end