Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

change #custom_headers to just #headers

git-svn-id: http://ar-code.svn.engineyard.com/lighthouse-api@8 d98f8484-0aa7-43af-80ea-302c351499d6
  • Loading branch information...
commit 2c310696565214db08e09ffef70c0c2731171526 1 parent ed4452a
@technoweenie technoweenie authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  lib/lighthouse.rb
View
2  lib/lighthouse.rb
@@ -20,7 +20,7 @@ def account=(name)
def token=(value)
resources.each do |klass|
- klass.custom_headers['X-LighthouseToken'] = value
+ klass.headers['X-LighthouseToken'] = value
end
@token = value
end
Please sign in to comment.
Something went wrong with that request. Please try again.