Class: LaunchDarkly::Server::AI::ProviderConfig

Inherits:
Object
  • Object
show all
Defined in:
lib/server/ai/client.rb

Overview

Configuration related to the provider.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(name) ⇒ ProviderConfig

Returns a new instance of ProviderConfig.



92
93
94
# File 'lib/server/ai/client.rb', line 92

def initialize(name)
  @name = name
end

Instance Attribute Details

#nameObject (readonly)

Returns the value of attribute name.



90
91
92
# File 'lib/server/ai/client.rb', line 90

def name
  @name
end

Instance Method Details

#to_hObject



96
97
98
99
100
# File 'lib/server/ai/client.rb', line 96

def to_h
  {
    name: @name,
  }
end