Skip to content


Subversion checkout URL

You can clone with
Download ZIP


Sample in README doesn't work #12

socketwiz opened this Issue · 2 comments

3 participants


In the README ( under the Getting Started heading there is some code that doesn't seem to work for me:

remit =, SECRET_KEY, true)

response = remit.get_tokens
puts response.tokens.first.token_id

The last line gives me the following error:

NoMethodError: undefined method `tokens' for #<Remit::GetTokens::Response:0x106fe56d0>
  from /Users/socketwiz/.rvm/gems/ree-1.8.7-2011.03/gems/relax-0.0.7/lib/relax/response.rb:32:in `method_missing'
  from (irb):21

I set my ACCESS_KEY and SECRET_KEY variables, and get_tokens does return a bunch of valid looking data, but the response doesn't seem to have any tokens...any ideas?


Same result with Ruby 1.9.1p376, FWIW, which isn't much. The test suite fails with the same issue.


The readme definitely needs an update. I no longer use remit, and have little time to work on it, but will merge in a pull request with a fix.

@pboling pboling was assigned
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.