class Google::Apis::Messages::Notification
Attributes
body[RW]
title[RW]
Public Class Methods
new(**args)
click to toggle source
# File lib/google/apis/messages/classes.rb, line 114 def initialize(**args) update!(**args) end
Public Instance Methods
update!(**args)
click to toggle source
Update properties of this object
# File lib/google/apis/messages/classes.rb, line 119 def update!(**args) @title = args[:title] if args.key?(:title) @body = args[:body] if args.key?(:body) end