Class: BingSearch::VideoResult
- Defined in:
- lib/bing-search/models.rb
Instance Attribute Summary collapse
-
#display_url ⇒ String
URL of a Bing page that displays the video.
-
#media_url ⇒ String
(also: #url)
URL of the video, often a web page containing the video.
-
#run_time ⇒ Integer?
(also: #duration)
Duration of the video in milliseconds, if available.
- #thumbnail ⇒ Image
- #title ⇒ String
Attributes inherited from Result
Method Summary
Methods inherited from Model
Constructor Details
This class inherits a constructor from BingSearch::Model
Instance Attribute Details
#display_url ⇒ String
URL of a Bing page that displays the video
114 115 116 |
# File 'lib/bing-search/models.rb', line 114 def display_url @display_url end |
#media_url ⇒ String Also known as: url
URL of the video, often a web page containing the video
109 110 111 |
# File 'lib/bing-search/models.rb', line 109 def media_url @media_url end |
#run_time ⇒ Integer? Also known as: duration
Duration of the video in milliseconds, if available
118 119 120 |
# File 'lib/bing-search/models.rb', line 118 def run_time @run_time end |
#thumbnail ⇒ Image
122 123 124 |
# File 'lib/bing-search/models.rb', line 122 def thumbnail @thumbnail end |
#title ⇒ String
105 106 107 |
# File 'lib/bing-search/models.rb', line 105 def title @title end |