Class: Buildkite::User

Inherits:
Object
  • Object
show all
Defined in:
lib/buildkite/models/user.rb

Class Method Summary collapse

Methods inherited from Object

#initialize, #to_ostruct

Constructor Details

This class inherits a constructor from Buildkite::Object

Class Method Details

.retrieveObject



6
7
8
9
# File 'lib/buildkite/models/user.rb', line 6

def retrieve
  response = Client.get_request("user")
  User.new response.body
end