Sha256: 682bfe115d515057661b9a95435231d32a6291ecb6729d7ad7fc4a9e50415c7d
Contents?: true
Size: 413 Bytes
Versions: 16
Compression:
Stored size: 413 Bytes
Contents
require 'twitter/factory' require 'twitter/media/photo' module Twitter class MediaFactory < Twitter::Factory class << self # Construct a new media object # # @param attrs [Hash] # @raise [IndexError] Error raised when supplied argument is missing a :type key. # @return [Twitter::Media] def new(attrs = {}) super(:type, Media, attrs) end end end end
Version data entries
16 entries across 16 versions & 1 rubygems