Class: Xtify::Message
Instance Method Summary collapse
-
#push(opts = {}) ⇒ Object
See Xtify.push.
Methods included from Model
#as_json, #fields, #initialize, #one_associations
Instance Method Details
#push(opts = {}) ⇒ Object
See Xtify.push
11 12 13 |
# File 'lib/xtify/message.rb', line 11 def push(opts={}) Xtify.push(opts.merge(:content => self)) end |