Sha256: a4fde02adbf5446ffcf8e4a6e8d072b897459faa8e5794a1a77f2f9d85e58cdf
Contents?: true
Size: 434 Bytes
Versions: 29
Compression:
Stored size: 434 Bytes
Contents
module FbGraph2 class Edge module Notifications def notifications(params = {}) notifications = self.edge :notifications, params notifications.collect! do |notification| Notification.new notification[:id], notification end end def notification!(params = {}) self.post params, edge: :notifications end alias_method :notify!, :notification! end end end
Version data entries
29 entries across 29 versions & 1 rubygems