Module: YammerApi::Helper
- Included in:
- Api::Feed, Api::Likes, Api::Messages, Api::Users
- Defined in:
- lib/yammer_api/helper.rb
Instance Method Summary collapse
Instance Method Details
#params(options) ⇒ Object
3 4 5 6 7 8 |
# File 'lib/yammer_api/helper.rb', line 3 def params params_str = "" params = [:params] || {} params.each { |key, value| params_str << "#{key}=#{value}&"} ("?" + params_str.chop) unless (params_str == "") end |