Exception: WhatsappSdk::Resource::Errors::InvalidParameterFormatError

Inherits:
StandardError
  • Object
show all
Defined in:
lib/whatsapp_sdk/resource/errors.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#formatObject (readonly)

Returns the value of attribute format.



54
55
56
# File 'lib/whatsapp_sdk/resource/errors.rb', line 54

def format
  @format
end