Class: Echowrap::Biography
Instance Attribute Summary collapse
-
#site ⇒ Object
readonly
Returns the value of attribute site.
-
#text ⇒ Object
readonly
Returns the value of attribute text.
-
#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
#site ⇒ Object (readonly)
Returns the value of attribute site.
5 6 7 |
# File 'lib/echowrap/biography.rb', line 5 def site @site end |
#text ⇒ Object (readonly)
Returns the value of attribute text.
5 6 7 |
# File 'lib/echowrap/biography.rb', line 5 def text @text end |
#url ⇒ Object (readonly)
Returns the value of attribute url.
5 6 7 |
# File 'lib/echowrap/biography.rb', line 5 def url @url end |
Instance Method Details
#license ⇒ Echowrap::License
8 9 10 |
# File 'lib/echowrap/biography.rb', line 8 def license @license ||= Echowrap::License.new(@attrs[:license]) end |