Module: Heroku

Defined in:
lib/heroku/plugin.rb,
lib/heroku.rb,
lib/heroku/updater.rb,
lib/heroku/helpers.rb,
lib/heroku/command.rb,
lib/heroku/version.rb,
lib/heroku/open_ssl.rb,
lib/heroku/api/apps_v3.rb,
lib/vendor/heroku/okjson.rb,
lib/heroku/api/releases_v3.rb

Overview

Defined Under Namespace

Modules: Command, Deprecated, Git, Helpers, OkJson, OpenSSL, Updater Classes: API, Auth, CLI, Client, JSPlugin, Plugin

Constant Summary

USER_AGENT =
"heroku-gem/#{Heroku::VERSION} (#{RUBY_PLATFORM}) ruby/#{RUBY_VERSION}"
VERSION =
"3.28.6"
@@app_name =
nil

Class Method Summary collapse

Class Method Details

.app_nameObject



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

def self.app_name
  @@app_name
end

.app_name=(app_name) ⇒ Object



22
23
24
# File 'lib/heroku.rb', line 22

def self.app_name=(app_name)
  @@app_name = app_name
end

.user_agentObject



10
11
12
# File 'lib/heroku.rb', line 10

def self.user_agent
  @@user_agent ||= USER_AGENT
end

.user_agent=(agent) ⇒ Object



14
15
16
# File 'lib/heroku.rb', line 14

def self.user_agent=(agent)
  @@user_agent = agent
end