module Heroku
based on the Rails Plugin
Some parts adapted from golang.org/src/pkg/json/decode.go and golang.org/src/pkg/utf8/utf8.go
Constants
- USER_AGENT
- VERSION
Public Class Methods
app_name()
click to toggle source
# File lib/heroku.rb, line 17 def self.app_name @@app_name end
app_name=(app_name)
click to toggle source
# File lib/heroku.rb, line 21 def self.app_name=(app_name) @@app_name = app_name end
user_agent()
click to toggle source
# File lib/heroku.rb, line 9 def self.user_agent @@user_agent ||= USER_AGENT end
user_agent=(agent)
click to toggle source
# File lib/heroku.rb, line 13 def self.user_agent=(agent) @@user_agent = agent end