Skip to content

Commit

Permalink
Sending Request Now.
Browse files Browse the repository at this point in the history
  • Loading branch information
arunagw committed Nov 16, 2010
1 parent 0f6e947 commit d7103dc
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/errorapp_notifier/error_notifier.rb
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ class ErrorNotifier
def self.send_fail(notification)
server_address, api_key = [ErrorappNotifier::Config.server_address, ErrorappNotifier::Config.api_key]
post_address = "#{server_address}/api/projects/#{api_key}/fails"
Net::HTTP.post_form URI.parse(post_address), {:data => notification.to_json}
end
end
end

0 comments on commit d7103dc

Please sign in to comment.