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, fetch, fetch_or_new, from_response, identity_map, #initialize, store, #update

Constructor Details

This class inherits a constructor from Twitter::Base

Instance Attribute Details

#author_nameObject (readonly)

Returns the value of attribute author_name.



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

def author_name
  @author_name
end

#author_urlObject (readonly)

Returns the value of attribute author_url.



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

def author_url
  @author_url
end

#cache_ageObject (readonly)

Returns the value of attribute cache_age.



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

def cache_age
  @cache_age
end

#heightObject (readonly)

Returns the value of attribute height.



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

def height
  @height
end

#htmlObject (readonly)

Returns the value of attribute html.



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

def html
  @html
end

#provider_nameObject (readonly)

Returns the value of attribute provider_name.



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

def provider_name
  @provider_name
end

#provider_urlObject (readonly)

Returns the value of attribute provider_url.



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

def provider_url
  @provider_url
end

#typeObject (readonly)

Returns the value of attribute type.



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

def type
  @type
end

#urlObject (readonly)

Returns the value of attribute url.



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

def url
  @url
end

#versionObject (readonly)

Returns the value of attribute version.



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

def version
  @version
end

#widthObject (readonly)

Returns the value of attribute width.



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

def width
  @width
end