Closed epitron closed 11 years ago
Hi there!
I discovered that the upload_token example in the README is broken. It says to use the following parameters to the method:
upload_token
:title => "title", :description => "description", :category => "People", :tags => ["test"]
This results in a somewhat unilluminating error message:
NoMethodError: undefined methodjoin' for nil:NilClass`
NoMethodError: undefined method
After scratching my head a bit, I discovered that there's no :tags option -- it should be called :keywords.
:tags
:keywords
Here are some possible solutions:
Thanks!
thanks you are right the options was keywords
I take it you opted for solution #3? :)
Hi there!
I discovered that the
upload_token
example in the README is broken. It says to use the following parameters to the method::title => "title", :description => "description", :category => "People", :tags => ["test"]
This results in a somewhat unilluminating error message:
NoMethodError: undefined method
join' for nil:NilClass`After scratching my head a bit, I discovered that there's no
:tags
option -- it should be called:keywords
.Here are some possible solutions:
:keywords
isn't supplied, use:tags
... because it's just less typing!Thanks!