Class: SavvyOpenrouter::Resources::OAuth
- Inherits:
-
Base
- Object
- Base
- SavvyOpenrouter::Resources::OAuth
show all
- Defined in:
- lib/savvy_openrouter/resources/oauth.rb
Instance Method Summary
collapse
Methods inherited from Base
#initialize
Instance Method Details
#create_auth_code(**body) ⇒ Object
12
13
14
|
# File 'lib/savvy_openrouter/resources/oauth.rb', line 12
def create_auth_code(**body)
conn.post("/auth/keys/code", body: body)
end
|
#exchange(**body) ⇒ Object
8
9
10
|
# File 'lib/savvy_openrouter/resources/oauth.rb', line 8
def exchange(**body)
conn.post("/auth/keys", body: body)
end
|