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

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