Class: Buildkite::AccessToken
- Defined in:
- lib/buildkite/models/access_token.rb
Class Method Summary collapse
Methods inherited from Object
Constructor Details
This class inherits a constructor from Buildkite::Object
Class Method Details
.retrieve ⇒ Object
6 7 8 9 |
# File 'lib/buildkite/models/access_token.rb', line 6 def retrieve response = Client.get_request("access-token") AccessToken.new response.body end |
.revoke ⇒ Object
11 12 13 |
# File 'lib/buildkite/models/access_token.rb', line 11 def revoke Client.delete_request("access-token") end |