Class: TerraformEnterprise::API::OAuthTokens

Inherits:
ResourceRequest show all
Defined in:
lib/terraform-enterprise/resource_requests/oauth-tokens.rb

Instance Method Summary collapse

Methods inherited from ResourceRequest

#initialize

Constructor Details

This class inherits a constructor from TerraformEnterprise::API::ResourceRequest

Instance Method Details

#list(params = {}) ⇒ Object



6
7
8
# File 'lib/terraform-enterprise/resource_requests/oauth-tokens.rb', line 6

def list(params={})
  @request.get(:organizations, params[:organization], 'oauth-tokens')
end