Class: Echowrap::Image
Instance Attribute Summary collapse
-
#url ⇒ Object
readonly
Returns the value of attribute url.
Instance Method Summary collapse
Methods inherited from Base
#==, attr_reader, #attrs, #initialize, #update
Constructor Details
This class inherits a constructor from Echowrap::Base
Instance Attribute Details
#url ⇒ Object (readonly)
Returns the value of attribute url.
5 6 7 |
# File 'lib/echowrap/image.rb', line 5 def url @url end |
Instance Method Details
#license ⇒ Echowrap::License
8 9 10 |
# File 'lib/echowrap/image.rb', line 8 def license @license ||= Echowrap::License.new(@attrs[:license]) end |