Class: Twitter::OEmbed
Overview
Represents oEmbed data for a Tweet
Instance Attribute Summary collapse
-
#author_name ⇒ String
readonly
The oEmbed version.
-
#cache_age ⇒ String
readonly
The oEmbed version.
-
#height ⇒ Integer
readonly
The width of the embedded content.
-
#html ⇒ String
readonly
The oEmbed version.
-
#provider_name ⇒ String
readonly
The oEmbed version.
-
#type ⇒ String
readonly
The oEmbed version.
-
#version ⇒ String
readonly
The oEmbed version.
-
#width ⇒ Integer
readonly
The width of the embedded content.
Attributes inherited from Base
Method Summary
Methods inherited from Base
#[], attr_reader, define_attribute_method, define_predicate_method, define_uri_method, display_uri_attr_reader, #initialize, object_attr_reader, predicate_attr_reader, uri_attr_reader
Methods included from Utils
Constructor Details
This class inherits a constructor from Twitter::Base
Instance Attribute Details
#author_name ⇒ String (readonly)
The oEmbed version
62 63 64 |
# File 'lib/twitter/oembed.rb', line 62 def @author_name end |
#cache_age ⇒ String (readonly)
The oEmbed version
62 63 64 |
# File 'lib/twitter/oembed.rb', line 62 def cache_age @cache_age end |
#height ⇒ Integer (readonly)
The width of the embedded content
19 20 21 |
# File 'lib/twitter/oembed.rb', line 19 def height @height end |
#html ⇒ String (readonly)
The oEmbed version
62 63 64 |
# File 'lib/twitter/oembed.rb', line 62 def html @html end |
#provider_name ⇒ String (readonly)
The oEmbed version
62 63 64 |
# File 'lib/twitter/oembed.rb', line 62 def provider_name @provider_name end |
#type ⇒ String (readonly)
The oEmbed version
62 63 64 |
# File 'lib/twitter/oembed.rb', line 62 def type @type end |
#version ⇒ String (readonly)
The oEmbed version
62 63 64 |
# File 'lib/twitter/oembed.rb', line 62 def version @version end |
#width ⇒ Integer (readonly)
The width of the embedded content
19 20 21 |
# File 'lib/twitter/oembed.rb', line 19 def width @width end |