module Dynosaur::Client::HerokuClient
Constants
- Config
Public Class Methods
api_key()
click to toggle source
# File lib/dynosaur/client/heroku_client.rb, line 23 def self.api_key config.api_key || fail('api_key must be set in the config') end
app_name()
click to toggle source
# File lib/dynosaur/client/heroku_client.rb, line 19 def self.app_name config.app_name || fail('app_name must be set in the config') end
client()
click to toggle source
# File lib/dynosaur/client/heroku_client.rb, line 15 def self.client PlatformAPI.connect_oauth(api_key) end
config()
click to toggle source
# File lib/dynosaur/client/heroku_client.rb, line 7 def self.config @config ||= Config.new end
configure() { |config| ... }
click to toggle source
# File lib/dynosaur/client/heroku_client.rb, line 11 def self.configure yield config if block_given? end