class Aptible::Gridiron::Evidence

Public Instance Methods

app() click to toggle source
# File lib/aptible/gridiron/evidence.rb, line 20
def app
  api = Aptible::Api::App.new(token: token, headers: headers)
  api.find_by_url(links['app'].href)
end
organization() click to toggle source
# File lib/aptible/gridiron/evidence.rb, line 10
def organization
  auth = Aptible::Auth::Organization.new(token: token, headers: headers)
  auth.find_by_url(links['organization'].href)
end
user() click to toggle source
# File lib/aptible/gridiron/evidence.rb, line 15
def user
  auth = Aptible::Auth::User.new(token: token, headers: headers)
  auth.find_by_url(links['user'].href)
end