Class: Weibo::Api::V2::Notification

Inherits:
Base
  • Object
show all
Defined in:
lib/weibo_focus/api/v2/notification.rb

Instance Method Summary collapse

Methods inherited from Base

#hashie, #initialize

Constructor Details

This class inherits a constructor from Weibo::Api::V2::Base

Instance Method Details

#send(uids, tpl_id, opt = {}) ⇒ Object

read interfaces



6
7
8
# File 'lib/weibo_focus/api/v2/notification.rb', line 6

def send(uids, tpl_id, opt={})
  hashie get("notification/send.json", :params => {:uids => uids, :tpl_id => tpl_id}.merge(opt))
end