Exception: Twitter::Error::UnacceptableIO

Inherits:
StandardError
  • Object
show all
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

Constructor Details

#initializeUnacceptableIO

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