Class: Episodic::Platform::DownloadItem

Inherits:
Item
  • Object
show all
Defined in:
lib/episodic/platform/query_methods.rb

Overview

Represents a download element in a response.

Instance Method Summary collapse

Methods inherited from Item

#exists?, #id, #initialize, #method_missing, #players, #respond_to?, #thumbnails

Constructor Details

This class inherits a constructor from Episodic::Platform::Item

Dynamic Method Handling

This class handles dynamic methods through the method_missing method in the class Episodic::Platform::Item

Instance Method Details

#urlObject

Get the url for the downloadable file.

Returns

String

The URL



614
615
616
# File 'lib/episodic/platform/query_methods.rb', line 614

def url
  return @item["url"].first
end