Class: Webhookdb::Heroku

Inherits:
Object
  • Object
show all
Includes:
Appydays::Configurable
Defined in:
lib/webhookdb/heroku.rb

Class Method Summary collapse

Class Method Details

.clientObject



16
17
18
19
20
# File 'lib/webhookdb/heroku.rb', line 16

def self.client
  raise "WEBHOOKDB_HEROKU_OAUTH_TOKEN not set" if self.oauth_token.blank?
  @client ||= PlatformAPI.connect_oauth(self.oauth_token)
  return @client
end