Class: Echowrap::Biography

Inherits:
Base
  • Object
show all
Defined in:
lib/echowrap/biography.rb

Instance Attribute Summary collapse

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

#siteObject (readonly)

Returns the value of attribute site.



5
6
7
# File 'lib/echowrap/biography.rb', line 5

def site
  @site
end

#textObject (readonly)

Returns the value of attribute text.



5
6
7
# File 'lib/echowrap/biography.rb', line 5

def text
  @text
end

#urlObject (readonly)

Returns the value of attribute url.



5
6
7
# File 'lib/echowrap/biography.rb', line 5

def url
  @url
end

Instance Method Details

#licenseEchowrap::License

Returns:



8
9
10
# File 'lib/echowrap/biography.rb', line 8

def license
  @license ||= Echowrap::License.new(@attrs[:license])
end