Class: TheTvDb::Api::Mirror
Instance Attribute Summary collapse
-
#url ⇒ Object
readonly
Returns the value of attribute url.
Instance Method Summary collapse
-
#initialize(url, typemask) ⇒ Mirror
constructor
A new instance of Mirror.
- #to_s ⇒ Object
Constructor Details
#initialize(url, typemask) ⇒ Mirror
Returns a new instance of Mirror.
5 6 7 |
# File 'lib/the_tv_db/api/mirror.rb', line 5 def initialize(url, typemask) @url, @typemask = url, typemask end |
Instance Attribute Details
#url ⇒ Object (readonly)
Returns the value of attribute url.
4 5 6 |
# File 'lib/the_tv_db/api/mirror.rb', line 4 def url @url end |
Instance Method Details
#to_s ⇒ Object
8 9 10 |
# File 'lib/the_tv_db/api/mirror.rb', line 8 def to_s url end |