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
227
|
# File 'lib/open_graph_reader/definitions.rb', line 227
url :actor, to: Profile, verticals: %w(movie episode tv_show other), collection: true
|
#actors ⇒ Array<Profile>
227
|
# File 'lib/open_graph_reader/definitions.rb', line 227
url :actor, to: Profile, verticals: %w(movie episode tv_show other), collection: true
|
233
|
# File 'lib/open_graph_reader/definitions.rb', line 233
url :director, to: Profile, verticals: %w(movie episode tv_show other), collection: true
|
#directors ⇒ Array<Profile>
233
|
# File 'lib/open_graph_reader/definitions.rb', line 233
url :director, to: Profile, verticals: %w(movie episode tv_show other), collection: true
|
#duration ⇒ Integer?
243
|
# File 'lib/open_graph_reader/definitions.rb', line 243
integer :duration, verticals: %w(movie episode tv_show other)
|
#release_date ⇒ DateTime?
247
|
# File 'lib/open_graph_reader/definitions.rb', line 247
datetime :release_date, verticals: %w(movie episode tv_show other)
|
#series ⇒ Sring?
TODO:
validate that target vertical is video.tv_show ?
258
|
# File 'lib/open_graph_reader/definitions.rb', line 258
url :series, to: Video, verticals: %w(episode)
|
#tag ⇒ String?
253
|
# File 'lib/open_graph_reader/definitions.rb', line 253
string :tag, verticals: %w(movie episode tv_show other), collection: true
|
253
|
# File 'lib/open_graph_reader/definitions.rb', line 253
string :tag, verticals: %w(movie episode tv_show other), collection: true
|
239
|
# File 'lib/open_graph_reader/definitions.rb', line 239
url :writer, to: Profile, verticals: %w(movie episode tv_show other), collection: true
|
#writers ⇒ Array<Profile>
239
|
# File 'lib/open_graph_reader/definitions.rb', line 239
url :writer, to: Profile, verticals: %w(movie episode tv_show other), collection: true
|