Skip to content

Commit

Permalink
Use version in User-Agent
Browse files Browse the repository at this point in the history
  • Loading branch information
Lawrence Oluyede committed Mar 8, 2016
1 parent 1472fa1 commit a20c972
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/parse/client.rb
Expand Up @@ -81,7 +81,7 @@ def request(uri, method = :get, body = nil, query = nil, content_type = nil)

{
'Content-Type' => content_type || 'application/json',
'User-Agent' => 'Parse for Ruby, 0.0',
'User-Agent' => "Parse for Ruby, #{VERSION}",
Protocol::HEADER_MASTER_KEY => @master_key,
Protocol::HEADER_APP_ID => @application_id,
Protocol::HEADER_API_KEY => @api_key,
Expand Down

0 comments on commit a20c972

Please sign in to comment.