class Pwush::Message
Constants
- Platforms
1 - iOS; 2 - BB; 3 - Android; 5 - Windows Phone; 7 - OS X; 8 - Windows 8; 9 - Amazon; 10 - Safari; 11 - Chrome; 12 - Firefox; ignored if “devices” < 10
Public Instance Methods
inspect()
click to toggle source
# File lib/pwush/message.rb, line 307 def inspect attrs = attributes.map { |k, v| " #{k}=#{v.inspect}" }.join "#<#{self.class}#{attrs}>" end
to_json(options = nil)
click to toggle source
# File lib/pwush/message.rb, line 303 def to_json(options = nil) attributes.to_json(options) end