Class: OpenGraphReader::Video
- Inherits:
-
Object
- Object
- OpenGraphReader::Video
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
231
|
# File 'lib/open_graph_reader/definitions.rb', line 231
url :actor, to: Profile, verticals: %w[movie episode tv_show other], collection: true
|
#actors ⇒ Array<Profile>
231
|
# File 'lib/open_graph_reader/definitions.rb', line 231
url :actor, to: Profile, verticals: %w[movie episode tv_show other], collection: true
|
237
|
# File 'lib/open_graph_reader/definitions.rb', line 237
url :director, to: Profile, verticals: %w[movie episode tv_show other], collection: true
|
#directors ⇒ Array<Profile>
237
|
# File 'lib/open_graph_reader/definitions.rb', line 237
url :director, to: Profile, verticals: %w[movie episode tv_show other], collection: true
|
#duration ⇒ Integer?
247
|
# File 'lib/open_graph_reader/definitions.rb', line 247
integer :duration, verticals: %w[movie episode tv_show other]
|
#release_date ⇒ DateTime?
251
|
# File 'lib/open_graph_reader/definitions.rb', line 251
datetime :release_date, verticals: %w[movie episode tv_show other]
|
#series ⇒ Sring?
TODO:
validate that target vertical is video.tv_show ?
262
|
# File 'lib/open_graph_reader/definitions.rb', line 262
url :series, to: Video, verticals: %w[episode]
|
#tag ⇒ String?
257
|
# File 'lib/open_graph_reader/definitions.rb', line 257
string :tag, verticals: %w[movie episode tv_show other], collection: true
|
257
|
# File 'lib/open_graph_reader/definitions.rb', line 257
string :tag, verticals: %w[movie episode tv_show other], collection: true
|
243
|
# File 'lib/open_graph_reader/definitions.rb', line 243
url :writer, to: Profile, verticals: %w[movie episode tv_show other], collection: true
|
#writers ⇒ Array<Profile>
243
|
# File 'lib/open_graph_reader/definitions.rb', line 243
url :writer, to: Profile, verticals: %w[movie episode tv_show other], collection: true
|