Methods

Class/Module Index [+]

Quicksearch

Twitter::MediaFactory

Public Class Methods

new(attrs = {}) click to toggle source

Construct a new media object

@param attrs [Hash] @raise [IndexError] Error raised when supplied argument is missing a :type key. @return [Twitter::Media]

# File lib/twitter/media_factory.rb, line 12
def new(attrs = {})
  super(:type, Media, attrs)
end

[Validate]

Generated with the Darkfish Rdoc Generator 2.