Exception: WhatsappSdk::Api::Medias::FileNotFoundError
- Inherits:
-
StandardError
- Object
- StandardError
- WhatsappSdk::Api::Medias::FileNotFoundError
- Defined in:
- lib/whatsapp_sdk/api/medias.rb
Instance Attribute Summary collapse
-
#file_path ⇒ Object
readonly
Returns the value of attribute file_path.
Instance Method Summary collapse
-
#initialize(file_path:) ⇒ FileNotFoundError
constructor
A new instance of FileNotFoundError.
Constructor Details
#initialize(file_path:) ⇒ FileNotFoundError
Returns a new instance of FileNotFoundError.
15 16 17 18 19 20 |
# File 'lib/whatsapp_sdk/api/medias.rb', line 15 def initialize(file_path:) @file_path = file_path = "Couldn't find file_path: #{file_path}" super() end |
Instance Attribute Details
#file_path ⇒ Object (readonly)
Returns the value of attribute file_path.
13 14 15 |
# File 'lib/whatsapp_sdk/api/medias.rb', line 13 def file_path @file_path end |