Class: SavvyOpenrouter::Resources::Generations
- Inherits:
-
Base
- Object
- Base
- SavvyOpenrouter::Resources::Generations
show all
- Defined in:
- lib/savvy_openrouter/resources/generations.rb
Instance Method Summary
collapse
Methods inherited from Base
#initialize
Instance Method Details
#content(**params) ⇒ Object
12
13
14
|
# File 'lib/savvy_openrouter/resources/generations.rb', line 12
def content(**params)
conn.get("/generation/content", params: params)
end
|
#get(id:) ⇒ Object
8
9
10
|
# File 'lib/savvy_openrouter/resources/generations.rb', line 8
def get(id:)
conn.get("/generation", params: { id: id })
end
|