Class: VoiceML::ConversationsV1ConversationMessageReceipt
- Inherits:
-
Object
- Object
- VoiceML::ConversationsV1ConversationMessageReceipt
- Defined in:
- lib/voiceml/models/conversations_v1.rb
Overview
ConversationsV1ConversationMessageReceipt — DY....
Constant Summary collapse
- ATTRIBUTES =
%w[ account_sid conversation_sid sid message_sid channel_message_sid participant_sid status error_code date_created date_updated url ].freeze
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(attrs = {}) ⇒ ConversationsV1ConversationMessageReceipt
constructor
A new instance of ConversationsV1ConversationMessageReceipt.
Constructor Details
#initialize(attrs = {}) ⇒ ConversationsV1ConversationMessageReceipt
Returns a new instance of ConversationsV1ConversationMessageReceipt.
91 92 93 |
# File 'lib/voiceml/models/conversations_v1.rb', line 91 def initialize(attrs = {}) ATTRIBUTES.each { |f| instance_variable_set("@#{f}", attrs[f] || attrs[f.to_sym]) } end |
Class Method Details
.from_hash(h) ⇒ Object
94 |
# File 'lib/voiceml/models/conversations_v1.rb', line 94 def self.from_hash(h); h.nil? ? nil : new(h); end |