Class: GDocsAPIWrapper::Models::Author
- Inherits:
-
Object
- Object
- GDocsAPIWrapper::Models::Author
- Defined in:
- lib/gdocsapi-wrapper/models/author.rb
Instance Attribute Summary collapse
-
#email ⇒ Object
Returns the value of attribute email.
-
#name ⇒ Object
Returns the value of attribute name.
Class Method Summary collapse
Instance Attribute Details
#email ⇒ Object
Returns the value of attribute email.
26 27 28 |
# File 'lib/gdocsapi-wrapper/models/author.rb', line 26 def email @email end |
#name ⇒ Object
Returns the value of attribute name.
25 26 27 |
# File 'lib/gdocsapi-wrapper/models/author.rb', line 25 def name @name end |
Class Method Details
.parse(element) ⇒ Object
28 29 30 31 32 33 34 35 |
# File 'lib/gdocsapi-wrapper/models/author.rb', line 28 def self.parse(element) = GDocsAPIWrapper::Models::Author.new .name = element.elements['name'].text .email = element.elements['email'].text return end |