Heroku::Kensa::ApiCheck

Public Instance Methods

base_path() click to toggle source
# File lib/heroku/kensa/check.rb, line 249
def base_path
  if data['api'][env].is_a? Hash
    URI.parse(data['api'][env]['base_url']).path
  else
    '/heroku/resources'
  end
end
credentials() click to toggle source
# File lib/heroku/kensa/check.rb, line 261
def credentials
  [ data['id'], data['api']['password'] ]
end
heroku_id() click to toggle source
# File lib/heroku/kensa/check.rb, line 257
def heroku_id
  "app#{rand(10000)}@kensa.heroku.com"
end

[Validate]

Generated with the Darkfish Rdoc Generator 2.