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:



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

url :actor, to: Profile, verticals: %w[movie episode tv_show other], collection: true

#actorsArray<Profile> (readonly)

Returns:



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

url :actor, to: Profile, verticals: %w[movie episode tv_show other], collection: true

#directorProfile?

Returns:



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

url :director, to: Profile, verticals: %w[movie episode tv_show other], collection: true

#directorsArray<Profile> (readonly)

Returns:



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

url :director, to: Profile, verticals: %w[movie episode tv_show other], collection: true

#durationInteger?

Returns:

  • (Integer, nil)


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

integer :duration, verticals: %w[movie episode tv_show other]

#release_dateDateTime?

Returns:

  • (DateTime, nil)


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

datetime :release_date, verticals: %w[movie episode tv_show other]

#seriesSring?

TODO:

validate that target vertical is video.tv_show ?

Returns:

  • (Sring, nil)


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

url :series, to: Video, verticals: %w[episode]

#tagString?

Returns:

  • (String, nil)


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

string :tag, verticals: %w[movie episode tv_show other], collection: true

#tagsArray<String> (readonly)

Returns:

  • (Array<String>)


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

string :tag, verticals: %w[movie episode tv_show other], collection: true

#writerProfile?

Returns:



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

url :writer, to: Profile, verticals: %w[movie episode tv_show other], collection: true

#writersArray<Profile> (readonly)

Returns:



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

url :writer, to: Profile, verticals: %w[movie episode tv_show other], collection: true