Exception: WhatsappSdk::Resource::Errors::InvalidParameterFormatError
- Inherits:
-
StandardError
- Object
- StandardError
- WhatsappSdk::Resource::Errors::InvalidParameterFormatError
- Defined in:
- lib/whatsapp_sdk/resource/errors.rb
Instance Attribute Summary collapse
-
#format ⇒ Object
readonly
Returns the value of attribute format.
Instance Method Summary collapse
-
#initialize(format:) ⇒ InvalidParameterFormatError
constructor
A new instance of InvalidParameterFormatError.
Constructor Details
#initialize(format:) ⇒ InvalidParameterFormatError
56 57 58 59 60 |
# File 'lib/whatsapp_sdk/resource/errors.rb', line 56 def initialize(format:) @format = format super("Invalid Parameter Format. The possible values are: named and positional.") end |
Instance Attribute Details
#format ⇒ Object (readonly)
Returns the value of attribute format.
54 55 56 |
# File 'lib/whatsapp_sdk/resource/errors.rb', line 54 def format @format end |