Sha256: 5a2e0d612b9fc239779ff26184787eb612afceda2e6d640c5251fa4341852794
Contents?: true
Size: 382 Bytes
Versions: 3
Compression:
Stored size: 382 Bytes
Contents
module JeraPush class Notification attr_accessor :title attr_accessor :body attr_accessor :image def initialize( title: '', body: '', image: '' ) self.title = title self.body = body self.image = image end def to_json { title: title, body: body, image: image } end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
jera_push-2.1.4 | lib/jera_push/models/notification.rb |
jera_push-2.1.3 | lib/jera_push/models/notification.rb |
jera_push-2.1.2 | lib/jera_push/models/notification.rb |