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.
Instance Method Summary collapse
- #decipher ⇒ Object
-
#initialize(cipher) ⇒ UrlDecipher
constructor
A new instance of UrlDecipher.
Constructor Details
#initialize(cipher) ⇒ UrlDecipher
Returns a new instance of UrlDecipher.
7 8 9 |
# File 'lib/youtube_audio/url_decipher.rb', line 7 def initialize(cipher) @cipher = cipher 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 |