Class: Buble::ChatModelsResource

Inherits:
Object
  • Object
show all
Defined in:
lib/buble/chat.rb

Instance Method Summary collapse

Constructor Details

#initialize(http) ⇒ ChatModelsResource

Returns a new instance of ChatModelsResource.



7
8
9
# File 'lib/buble/chat.rb', line 7

def initialize(http)
  @http = http
end

Instance Method Details

#listObject



11
12
13
# File 'lib/buble/chat.rb', line 11

def list
  @http.request('GET', '/api/v1/models')
end