Class: GiantBomb::Video

Inherits:
Resource show all
Defined in:
lib/giantbomb/resources/video.rb

Constant Summary collapse

@@fields =
[
  :api_detail_url,  # URL pointing to the video detail resource
  :deck,            # Brief summary of the video
  :hd_url,          # URL to the HD version of the video
  :high_url,        # URL to the High Res version of the video
  :low_url,         # URL to the Low Res version of the video
  :embed_player,    # URL for video embed player. To be inserted into an iFrame. You can add ?autoplay=true to auto-play. See http://www.giantbomb.com/api/video-embed-sample/ for more information on using the embed player.
  :id,              # Unique ID of the video
  :image,           # Image associated with the video
  :length_seconds,  # Length (in seconds) of the video
  :name,            # Title of the video
  :publish_date,    # Date the video was published on Giant Bomb
  :site_detail_url, # URL pointing to the video on Giant Bomb
  :url,             # The video's filename
  :user,            # Author of the video
  :youtube_id       # Youtube ID for the video
]

Method Summary

Methods inherited from Resource

detail, endpoint_id, endpoints, has_resource, #initialize, list, search

Constructor Details

This class inherits a constructor from GiantBomb::Resource