Class: Twitter::MediaFactory
- Defined in:
- lib/twitter/media_factory.rb
Class Method Summary collapse
-
.fetch_or_new(attrs = {}) ⇒ Twitter::Media
Instantiates a new media object.
Class Method Details
.fetch_or_new(attrs = {}) ⇒ Twitter::Media
Instantiates a new media object
12 13 14 |
# File 'lib/twitter/media_factory.rb', line 12 def self.fetch_or_new(attrs={}) super(:type, Twitter::Media, attrs) end |