Skip to content
This repository has been archived by the owner on Jul 19, 2022. It is now read-only.

Commit

Permalink
Make the token writer attribute.
Browse files Browse the repository at this point in the history
  • Loading branch information
coop committed Sep 13, 2011
1 parent c6c0e8c commit 8f815cd
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lib/run_keeper/request.rb
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@ class Request
'user' => 'application/vnd.com.runkeeper.User+json'
}

attr_writer :token

def initialize client_id, client_secret, token
@client_id, @client_secret, @token = client_id, client_secret, token
end
Expand Down

0 comments on commit 8f815cd

Please sign in to comment.