Exception: Twitter::Error::UnacceptableIO
- Inherits:
-
StandardError
- Object
- StandardError
- Twitter::Error::UnacceptableIO
- Defined in:
- lib/twitter/error.rb
Overview
Raised when a Tweet includes media that doesn't have a to_io method
Instance Method Summary collapse
-
#initialize ⇒ UnacceptableIO
constructor
A new instance of UnacceptableIO.
Constructor Details
#initialize ⇒ UnacceptableIO
Returns a new instance of UnacceptableIO.
115 116 117 |
# File 'lib/twitter/error.rb', line 115 def initialize super('The IO object for media must respond to to_io') end |