Class: Layer::Announcement
- Extended by:
- Operations::Create::ClassMethods
- Includes:
- Operations::Create
- Defined in:
- lib/layer/announcement.rb
Overview
Note:
This is only available via the Platform API.
Instance Attribute Summary
Attributes inherited from Resource
Instance Method Summary collapse
Methods included from Operations::Create::ClassMethods
Methods inherited from Resource
class_name, from_response, #id, #initialize, #respond_to_missing?, url, #url
Constructor Details
This class inherits a constructor from Layer::Resource
Dynamic Method Handling
This class handles dynamic methods through the method_missing method in the class Layer::Resource
Instance Method Details
#sent_at ⇒ Object
12 13 14 |
# File 'lib/layer/announcement.rb', line 12 def sent_at Time.parse(attributes['sent_at']) end |