Class: CommandTower::Messaging::Accept::ChannelDeliveryResult
- Inherits:
-
Data
- Object
- Data
- CommandTower::Messaging::Accept::ChannelDeliveryResult
- Defined in:
- app/services/command_tower/messaging/accept/channel_delivery_result.rb
Instance Attribute Summary collapse
-
#channel_key ⇒ Object
readonly
Returns the value of attribute channel_key.
-
#id ⇒ Object
readonly
Returns the value of attribute id.
-
#status ⇒ Object
readonly
Returns the value of attribute status.
Class Method Summary collapse
Instance Attribute Details
#channel_key ⇒ Object (readonly)
Returns the value of attribute channel_key
6 7 8 |
# File 'app/services/command_tower/messaging/accept/channel_delivery_result.rb', line 6 def channel_key @channel_key end |
#id ⇒ Object (readonly)
Returns the value of attribute id
6 7 8 |
# File 'app/services/command_tower/messaging/accept/channel_delivery_result.rb', line 6 def id @id end |
#status ⇒ Object (readonly)
Returns the value of attribute status
6 7 8 |
# File 'app/services/command_tower/messaging/accept/channel_delivery_result.rb', line 6 def status @status end |
Class Method Details
.build(id:, channel_key:, status:) ⇒ Object
7 8 9 |
# File 'app/services/command_tower/messaging/accept/channel_delivery_result.rb', line 7 def self.build(id:, channel_key:, status:) new(id:, channel_key: channel_key.to_s, status: status.to_s).freeze end |