Class: OpenGraphReader::Og::Video

Inherits:
Object
  • Object
show all
Includes:
OpenGraphReader::Object
Defined in:
lib/open_graph_reader/definitions.rb

Overview

Instance Attribute Summary collapse

Attributes included from OpenGraphReader::Object

#children, #content, #properties

Instance Method Summary collapse

Methods included from OpenGraphReader::Object

#[], #[]=, #initialize, #property?, #to_s

Instance Attribute Details

#heightInteger?

Returns:

  • (Integer, nil)


142
# File 'lib/open_graph_reader/definitions.rb', line 142

integer :height

#secure_urlString?

Returns:

  • (String, nil)


130
# File 'lib/open_graph_reader/definitions.rb', line 130

url :secure_url

#typeString?

Returns:

  • (String, nil)


134
# File 'lib/open_graph_reader/definitions.rb', line 134

string :type

#widthInteger?

Returns:

  • (Integer, nil)


138
# File 'lib/open_graph_reader/definitions.rb', line 138

integer :width

Instance Method Details

#urlString?

Returns:

  • (String, nil)


145
146
147
# File 'lib/open_graph_reader/definitions.rb', line 145

def url
  secure_url || content
end