Exception: WhatsappSdk::Resource::Component::InvalidField
- Inherits:
-
StandardError
- Object
- StandardError
- WhatsappSdk::Resource::Component::InvalidField
- Defined in:
- lib/whatsapp_sdk/resource/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) ⇒ InvalidField
constructor
A new instance of InvalidField.
Constructor Details
#initialize(field, message) ⇒ InvalidField
Returns a new instance of InvalidField.
9 10 11 12 13 |
# File 'lib/whatsapp_sdk/resource/component.rb', line 9 def initialize(field, ) @field = field @message = super() end |
Instance Attribute Details
#field ⇒ Object (readonly)
Returns the value of attribute field.
7 8 9 |
# File 'lib/whatsapp_sdk/resource/component.rb', line 7 def field @field end |
#message ⇒ Object (readonly)
Returns the value of attribute message.
7 8 9 |
# File 'lib/whatsapp_sdk/resource/component.rb', line 7 def @message end |