Class: OpenGraphReader::Og::Video
Overview
Instance Attribute Summary collapse
#children, #content, #properties
Instance Method Summary
collapse
#[], #[]=, #initialize, #property?, #to_s
Instance Attribute Details
#height ⇒ Integer?
142
|
# File 'lib/open_graph_reader/definitions.rb', line 142
integer :height
|
#secure_url ⇒ String?
130
|
# File 'lib/open_graph_reader/definitions.rb', line 130
url :secure_url
|
#type ⇒ String?
134
|
# File 'lib/open_graph_reader/definitions.rb', line 134
string :type
|
#width ⇒ Integer?
138
|
# File 'lib/open_graph_reader/definitions.rb', line 138
integer :width
|
Instance Method Details
#url ⇒ String?
145
146
147
|
# File 'lib/open_graph_reader/definitions.rb', line 145
def url
secure_url || content
end
|