Class: OpenGraphReader::Video

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

Overview

Instance Attribute Summary collapse

Attributes included from Object

#children, #content, #properties

Method Summary

Methods included from Object

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

Instance Attribute Details

#actorProfile?

Returns:



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

url :actor,    to: Profile, verticals: %w(movie episode tv_show other), collection: true

#actorsArray<Profile> (readonly)

Returns:



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

url :actor,    to: Profile, verticals: %w(movie episode tv_show other), collection: true

#directorProfile?

Returns:



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

url :director, to: Profile, verticals: %w(movie episode tv_show other), collection: true

#directorsArray<Profile> (readonly)

Returns:



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

url :director, to: Profile, verticals: %w(movie episode tv_show other), collection: true

#durationInteger?

Returns:

  • (Integer, nil)


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

integer :duration,          verticals: %w(movie episode tv_show other)

#release_dateDateTime?

Returns:

  • (DateTime, nil)


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

datetime :release_date,     verticals: %w(movie episode tv_show other)

#seriesSring?

TODO:

validate that target vertical is video.tv_show ?

Returns:

  • (Sring, nil)


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

url :series,   to: Video,   verticals: %w(episode)

#tagString?

Returns:

  • (String, nil)


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

string :tag,                verticals: %w(movie episode tv_show other), collection: true

#tagsArray<String> (readonly)

Returns:

  • (Array<String>)


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

string :tag,                verticals: %w(movie episode tv_show other), collection: true

#writerProfile?

Returns:



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

url :writer,   to: Profile, verticals: %w(movie episode tv_show other), collection: true

#writersArray<Profile> (readonly)

Returns:



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

url :writer,   to: Profile, verticals: %w(movie episode tv_show other), collection: true