Class: Buble::ChatModelsResource
- Inherits:
-
Object
- Object
- Buble::ChatModelsResource
- Defined in:
- lib/buble/chat.rb
Instance Method Summary collapse
-
#initialize(http) ⇒ ChatModelsResource
constructor
A new instance of ChatModelsResource.
- #list ⇒ Object
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
#list ⇒ Object
11 12 13 |
# File 'lib/buble/chat.rb', line 11 def list @http.request('GET', '/api/v1/models') end |