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

#open_timeoutObject

Returns the value of attribute open_timeout

Returns:

  • (Object)

    the current value of open_timeout



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

def open_timeout
  @open_timeout
end

#read_timeoutObject

Returns the value of attribute read_timeout

Returns:

  • (Object)

    the current value of read_timeout



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

def read_timeout
  @read_timeout
end

Class Method Details

.new(api_key, open_timeout, read_timeout) ⇒ instance .new(api_key:, open_timeout:, read_timeout:) ⇒ instance

Overloads:

  • .new(api_key, open_timeout, read_timeout) ⇒ instance

    Parameters:

    • api_key (Object)
    • open_timeout (Object)
    • read_timeout (Object)

    Returns:

    • (instance)
  • .new(api_key:, open_timeout:, read_timeout:) ⇒ instance

    Parameters:

    • api_key: (Object)
    • open_timeout: (Object)
    • read_timeout: (Object)

    Returns:

    • (instance)


37
38
# File 'sig/generated/riffer/config.rbs', line 37

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