Class: Infrawrench::InvitationsByTokenNamespace
- Inherits:
-
Object
- Object
- Infrawrench::InvitationsByTokenNamespace
- Defined in:
- lib/infrawrench/client.rb,
sig/infrawrench/sdk.rbs
Overview
client.invitations.by_token
Instance Method Summary collapse
-
#get(token:, request_options: nil) ⇒ Hash
Get invitation details by token.
-
#initialize(transport) ⇒ InvitationsByTokenNamespace
constructor
private
A new instance of InvitationsByTokenNamespace.
Constructor Details
#initialize(transport) ⇒ InvitationsByTokenNamespace
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
Returns a new instance of InvitationsByTokenNamespace.
2761 2762 2763 |
# File 'lib/infrawrench/client.rb', line 2761 def initialize(transport) @transport = transport end |
Instance Method Details
#get(token:, request_options: nil) ⇒ Hash
Get invitation details by token
GET /api/invitations/by-token/token
Raises on 404: Not found
2775 2776 2777 2778 2779 2780 2781 2782 |
# File 'lib/infrawrench/client.rb', line 2775 def get(token:, request_options: nil) @transport.request( http_method: "GET", path: "/api/invitations/by-token/{token}", path_params: { "token" => token }, request_options: ) end |