class Aptible::Auth::User

Public Instance Methods

operations() click to toggle source
# File lib/aptible/auth/user.rb, line 23
def operations
  # TODO: Implement query params for /operations
  []
end
organizations() click to toggle source
# File lib/aptible/auth/user.rb, line 17
def organizations
  # Establish uniqueness of requests before loading all organizations
  # We can do this by reading the `organization` link for each role
  roles.map(&:links).map(&:organization).uniq(&:href).map(&:get)
end