Exception: WhatsappSdk::Resource::ParameterObject::InvalidType
- Inherits:
-
StandardError
- Object
- StandardError
- WhatsappSdk::Resource::ParameterObject::InvalidType
- Defined in:
- lib/whatsapp_sdk/resource/parameter_object.rb
Instance Attribute Summary collapse
-
#message ⇒ Object
Returns the value of attribute message.
Instance Method Summary collapse
-
#initialize(type) ⇒ InvalidType
constructor
A new instance of InvalidType.
Constructor Details
#initialize(type) ⇒ InvalidType
Returns a new instance of InvalidType.
9 10 11 12 13 |
# File 'lib/whatsapp_sdk/resource/parameter_object.rb', line 9 def initialize(type) = "invalid type #{type}. type should be text, currency, date_time, image, document or video" super end |
Instance Attribute Details
#message ⇒ Object
Returns the value of attribute message.
7 8 9 |
# File 'lib/whatsapp_sdk/resource/parameter_object.rb', line 7 def end |