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

Returns:

  • (Object)

    the current value of 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

Returns:

  • (Object)

    the current value of 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

Returns:

  • (Object)

    the current value of filename



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

def filename
  @filename
end

#filespecObject

Returns the value of attribute filespec

Returns:

  • (Object)

    the current value of filespec



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

def filespec
  @filespec
end

#urlObject

Returns the value of attribute url

Returns:

  • (Object)

    the current value of 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