Class: DownloadLink

Inherits:
Struct
  • Object
show all
Defined in:
lib/get_tapas/download_link.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#descriptionObject

Returns the value of attribute description



1
2
3
# File 'lib/get_tapas/download_link.rb', line 1

def description
  @description
end

#episode_numObject

Returns the value of attribute episode_num



1
2
3
# File 'lib/get_tapas/download_link.rb', line 1

def episode_num
  @episode_num
end

#filenameObject

Returns the value of attribute filename



1
2
3
# File 'lib/get_tapas/download_link.rb', line 1

def filename
  @filename
end

#filespecObject

Returns the value of attribute filespec



1
2
3
# File 'lib/get_tapas/download_link.rb', line 1

def filespec
  @filespec
end

#urlObject

Returns the value of attribute url



1
2
3
# File 'lib/get_tapas/download_link.rb', line 1

def url
  @url
end

Instance Method Details

#to_sObject



8
9
10
# File 'lib/get_tapas/download_link.rb', line 8

def to_s
   to_h.to_s
end