Class: Twitter::OEmbed

Inherits:
Base
  • Object
show all
Defined in:
lib/twitter/oembed.rb

Instance Attribute Summary collapse

Attributes inherited from Base

#attrs

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

flat_pmap, pmap

Constructor Details

This class inherits a constructor from Twitter::Base

Instance Attribute Details

#author_nameString (readonly)

Returns:

  • (String)


8
9
10
# File 'lib/twitter/oembed.rb', line 8

def author_name
  @author_name
end

#cache_ageString (readonly)

Returns:

  • (String)


8
9
10
# File 'lib/twitter/oembed.rb', line 8

def cache_age
  @cache_age
end

#heightInteger (readonly)

Returns:

  • (Integer)


6
7
8
# File 'lib/twitter/oembed.rb', line 6

def height
  @height
end

#htmlString (readonly)

Returns:

  • (String)


8
9
10
# File 'lib/twitter/oembed.rb', line 8

def html
  @html
end

#provider_nameString (readonly)

Returns:

  • (String)


8
9
10
# File 'lib/twitter/oembed.rb', line 8

def provider_name
  @provider_name
end

#typeString (readonly)

Returns:

  • (String)


8
9
10
# File 'lib/twitter/oembed.rb', line 8

def type
  @type
end

#versionString (readonly)

Returns:

  • (String)


8
9
10
# File 'lib/twitter/oembed.rb', line 8

def version
  @version
end

#widthInteger (readonly)

Returns:

  • (Integer)


6
7
8
# File 'lib/twitter/oembed.rb', line 6

def width
  @width
end