Permalink
Browse files

Make the token writer attribute.

  • Loading branch information...
coop committed Sep 13, 2011
1 parent c6c0e8c commit 8f815cd05a5c7cd18a5330bbfd5d15c7f809b213
Showing with 2 additions and 0 deletions.
  1. +2 −0 lib/run_keeper/request.rb
@@ -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

0 comments on commit 8f815cd

Please sign in to comment.