aki017 / slack-ruby-gem

A Ruby wrapper for the Slack API
MIT License
242 stars 79 forks source link

Request get, not post. #19

Closed treeder closed 9 years ago

treeder commented 9 years ago

Post doesn't work here.

aki017 commented 9 years ago

sry that file is auto generated file https://github.com/aki017/slack-ruby-gem/pull/19/files#diff-ad8b1489f746c6d013cf6bcb88219ea4L1

treeder commented 9 years ago

Generated from what? Can it be patched somewhere else?

aki017 commented 9 years ago

That line is generated from this erb https://github.com/aki017/slack-ruby-gem/blob/ba586e04380d77be9aea0ec8e45ed8d2b3cc033f/lib/generators/templates/method.rb.erb#L23

treeder commented 9 years ago

If I put a patch in to that generator for this special case will you accept it? Do a get if it's that particular method.

aki017 commented 9 years ago

we can use post.

treeder commented 9 years ago

Did they change the API?

aki017 commented 9 years ago

maybe changed