Class: TMDBParty::Video
- Inherits:
-
Object
- Object
- TMDBParty::Video
- Defined in:
- lib/tmdb_party/video.rb
Instance Attribute Summary collapse
-
#url ⇒ Object
readonly
Returns the value of attribute url.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(url) ⇒ Video
constructor
A new instance of Video.
Constructor Details
#initialize(url) ⇒ Video
Returns a new instance of Video.
5 6 7 |
# File 'lib/tmdb_party/video.rb', line 5 def initialize(url) @url = url end |
Instance Attribute Details
#url ⇒ Object (readonly)
Returns the value of attribute url.
3 4 5 |
# File 'lib/tmdb_party/video.rb', line 3 def url @url end |