Class: GustoEmbedded::Shared::Notification
- Inherits:
-
Crystalline::FieldAugmented
- Object
- Crystalline::FieldAugmented
- GustoEmbedded::Shared::Notification
- Extended by:
- T::Sig
- Defined in:
- lib/gusto_embedded/models/shared/notification.rb
Overview
Representation of a notification
Instance Method Summary collapse
-
#initialize(uuid: nil, actionable: nil, category: nil, company_uuid: nil, due_at: nil, message: nil, published_at: nil, resources: nil, title: nil) ⇒ Notification
constructor
A new instance of Notification.
Methods included from Crystalline::MetadataFields
#field, #fields, included, #marshal_single, #to_dict, #to_json
Constructor Details
#initialize(uuid: nil, actionable: nil, category: nil, company_uuid: nil, due_at: nil, message: nil, published_at: nil, resources: nil, title: nil) ⇒ Notification
Returns a new instance of Notification.
35 36 37 38 39 40 41 42 43 44 45 |
# File 'lib/gusto_embedded/models/shared/notification.rb', line 35 def initialize(uuid: nil, actionable: nil, category: nil, company_uuid: nil, due_at: nil, message: nil, published_at: nil, resources: nil, title: nil) @uuid = uuid @actionable = actionable @category = category @company_uuid = company_uuid @due_at = due_at @message = @published_at = published_at @resources = resources @title = title end |