Exception: WhatsappSdk::Resource::MediaComponent::InvalidMedia
- Inherits:
-
StandardError
- Object
- StandardError
- WhatsappSdk::Resource::MediaComponent::InvalidMedia
- Defined in:
- lib/whatsapp_sdk/resource/media_component.rb
Instance Attribute Summary collapse
-
#field ⇒ Object
readonly
Returns the value of attribute field.
-
#message ⇒ Object
readonly
Returns the value of attribute message.
Instance Method Summary collapse
-
#initialize(field, message) ⇒ InvalidMedia
constructor
A new instance of InvalidMedia.
Constructor Details
#initialize(field, message) ⇒ InvalidMedia
Returns a new instance of InvalidMedia.
11 12 13 14 15 |
# File 'lib/whatsapp_sdk/resource/media_component.rb', line 11 def initialize(field, ) @field = field = super() end |
Instance Attribute Details
#field ⇒ Object (readonly)
Returns the value of attribute field.
9 10 11 |
# File 'lib/whatsapp_sdk/resource/media_component.rb', line 9 def field @field end |
#message ⇒ Object (readonly)
Returns the value of attribute message.
9 10 11 |
# File 'lib/whatsapp_sdk/resource/media_component.rb', line 9 def end |