Class: YoutubeAudio::UrlDecipher
- Inherits:
-
Object
- Object
- YoutubeAudio::UrlDecipher
- Defined in:
- lib/youtube_audio/url_decipher.rb
Instance Attribute Summary collapse
-
#cipher ⇒ Object
readonly
Returns the value of attribute cipher.
-
#script_player_url ⇒ Object
readonly
Returns the value of attribute script_player_url.
Instance Method Summary collapse
- #decipher ⇒ Object
-
#initialize(cipher, script_player_url:) ⇒ UrlDecipher
constructor
A new instance of UrlDecipher.
Constructor Details
#initialize(cipher, script_player_url:) ⇒ UrlDecipher
Returns a new instance of UrlDecipher.
7 8 9 10 |
# File 'lib/youtube_audio/url_decipher.rb', line 7 def initialize(cipher, script_player_url:) @cipher = cipher @script_player_url = script_player_url end |
Instance Attribute Details
#cipher ⇒ Object (readonly)
Returns the value of attribute cipher.
5 6 7 |
# File 'lib/youtube_audio/url_decipher.rb', line 5 def cipher @cipher end |
#script_player_url ⇒ Object (readonly)
Returns the value of attribute script_player_url.
5 6 7 |
# File 'lib/youtube_audio/url_decipher.rb', line 5 def script_player_url @script_player_url end |