Class: Riffer::Config::Gemini

Inherits:
Struct
  • Object
show all
Defined in:
lib/riffer/config.rb,
sig/generated/riffer/config.rbs

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Attribute Details

#api_keyObject

Returns the value of attribute api_key

Returns:

  • (Object)

    the current value of api_key



9
10
11
# File 'lib/riffer/config.rb', line 9

def api_key
  @api_key
end

#clientObject

Returns the value of attribute client

Returns:

  • (Object)

    the current value of client



9
10
11
# File 'lib/riffer/config.rb', line 9

def client
  @client
end

Class Method Details

.new(api_key, client) ⇒ instance .new(api_key:, client:) ⇒ instance

Overloads:

  • .new(api_key, client) ⇒ instance

    Parameters:

    • api_key (Object)
    • client (Object)

    Returns:

    • (instance)
  • .new(api_key:, client:) ⇒ instance

    Parameters:

    • api_key: (Object)
    • client: (Object)

    Returns:

    • (instance)


41
42
# File 'sig/generated/riffer/config.rbs', line 41

def self.new: (?untyped api_key, ?untyped client) -> instance
| (?api_key: untyped, ?client: untyped) -> instance