Class: Oembed::Media
Instance Attribute Summary collapse
-
#format ⇒ Object
Returns the value of attribute format.
-
#html(size = {}) ⇒ Object
Returns the value of attribute html.
-
#media_url ⇒ Object
Returns the value of attribute media_url.
-
#title ⇒ Object
Returns the value of attribute title.
Attributes inherited from Providers
Instance Method Summary collapse
-
#initialize(url) ⇒ Media
constructor
A new instance of Media.
Constructor Details
Instance Attribute Details
#format ⇒ Object
Returns the value of attribute format.
5 6 7 |
# File 'lib/oembed/media.rb', line 5 def format @format end |
#html(size = {}) ⇒ Object
Returns the value of attribute html.
5 6 7 |
# File 'lib/oembed/media.rb', line 5 def html @html end |
#media_url ⇒ Object
Returns the value of attribute media_url.
5 6 7 |
# File 'lib/oembed/media.rb', line 5 def media_url @media_url end |
#title ⇒ Object
Returns the value of attribute title.
5 6 7 |
# File 'lib/oembed/media.rb', line 5 def title @title end |