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