class Layer::Announcement
@example
Layer::Announcement.create({ recipients: 'everyone', sender: { name: 'Server' }, parts: [{ body: 'Hello!', mime_type: 'text/plain' }]})
@see developer.layer.com/docs/platform#send-an-announcement Layer
Platform API Documentation about announcements @!macro platform-api
Public Instance Methods
sent_at()
click to toggle source
@!parse extend Layer::Operations::Create::ClassMethods
# File lib/layer/announcement.rb, line 12 def sent_at Time.parse(attributes['sent_at']) end