Permalink
Browse files

added VERSION constant

  • Loading branch information...
john
john committed Apr 20, 2011
1 parent 4423a44 commit 967671f9b8d76e7edf113b3eca62cdffe0582454
Showing with 3 additions and 1 deletion.
  1. +2 −0 lib/gattica.rb
  2. +1 −1 lib/gattica/auth.rb
View
@@ -26,6 +26,8 @@
# Please see the README for usage docs.
module Gattica
VERSION = '0.4.3'
# Creates a new instance of Gattica::Engine and gets us going. Please see the README for usage docs.
# ga = Gattica.new({:email => 'anonymous@anon.com', :password => 'password, :profile_id => 123456 })
View
@@ -11,7 +11,7 @@ class Auth
SCRIPT_NAME = '/accounts/ClientLogin'
HEADERS = { 'Content-Type' => 'application/x-www-form-urlencoded', 'User-Agent' => 'Ruby Net::HTTP' } # Google asks that you be nice and provide a user-agent string
OPTIONS = { :source => 'gattica-'+VERSION, :service => 'analytics' } # Google asks that you provide the name of your app as a 'source' parameter in your POST
OPTIONS = { :source => 'gattica-'+Gattica::VERSION, :service => 'analytics' } # Google asks that you provide the name of your app as a 'source' parameter in your POST
attr_reader :tokens

0 comments on commit 967671f

Please sign in to comment.