Skip to content

Commit

Permalink
Added user agent.
Browse files Browse the repository at this point in the history
  • Loading branch information
Travis Reeder committed Nov 3, 2011
1 parent 8b954a0 commit 37a532a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lib/ironmq/client.rb
Expand Up @@ -40,7 +40,8 @@ def full_url(path)
def common_req_hash
{
:headers=>{"Content-Type" => 'application/json',
"Authorization"=>"OAuth #{@token}"}
"Authorization"=>"OAuth #{@token}",
"User-Agent"=>"IronMQ Ruby Client"}
}
end

Expand Down

0 comments on commit 37a532a

Please sign in to comment.