Class: RFb::Notification

Inherits:
Object
  • Object
show all
Defined in:
lib/r_fb/notification.rb

Constant Summary collapse

INVITE =
"Sell your things to your friends and other facebook users. <fb:req-choice url='http://apps.facebook.com/alibazaar/' label='Add Ali Bazaar' />"

Instance Method Summary collapse

Instance Method Details

#send(opts) ⇒ Object

usage: Notification.send(to_ids: recipients_ids, notification: RFB::Notification::INVITE)

to_ids: recipients_ids, notification: “fbml and html allowed”



10
11
12
# File 'lib/r_fb/notification.rb', line 10

def send(opts)
  RFb.request(opts)
end