Skip to content

Commit

Permalink
[CHORE] Commenting out functionality
Browse files Browse the repository at this point in the history
  • Loading branch information
KMJo committed Sep 6, 2011
1 parent e916af2 commit 1252818
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 6 deletions.
11 changes: 6 additions & 5 deletions lib/Performable.rb
Expand Up @@ -6,11 +6,12 @@ module Performable

# Performable - Record the supplied event
def self.record_event(user_id, event_name, requesting_url, api_key, additional_params = '')
if Rails.env == "production"
performable_uri_path = @performable_event_path + "_i=" + "#{user_id}" + "&_n=" + "#{event_name}" + "&_l=" + "#{requesting_url}" + "&_t=" + "#{Time.now.to_i}" + "&_a=" + "#{api_key}" + "#{additional_params}"
Net::HTTP.get_print URI.parse(performable_uri_path)
end
return performable_uri_path
# if Rails.env == "production"
# performable_uri_path = @performable_event_path + "_i=" + "#{user_id}" + "&_n=" + "#{event_name}" + "&_l=" + "#{requesting_url}" + "&_t=" + "#{Time.now.to_i}" + "&_a=" + "#{api_key}" + "#{additional_params}"
# Net::HTTP.get_print URI.parse(performable_uri_path)
# end
# return performable_uri_path
return ""
end

end
2 changes: 1 addition & 1 deletion lib/Performable/version.rb
@@ -1,3 +1,3 @@
module Performable
VERSION = "0.0.1"
VERSION = "0.0.2"
end

0 comments on commit 1252818

Please sign in to comment.