Module: Heroku

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

Overview

Defined Under Namespace

Modules: Command, Deprecated, Distribution, Helpers, OkJson, Updater Classes: API, Auth, CLI, Client, Plugin

Constant Summary

USER_AGENT =
"heroku-gem/#{Heroku::VERSION} (#{RUBY_PLATFORM}) ruby/#{RUBY_VERSION}"
VERSION =
"3.9.4"

Class Method Summary collapse

Class Method Details

.user_agentObject



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

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

.user_agent=(agent) ⇒ Object



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

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