Class: Picasa::Presenter::Author

Inherits:
Base
  • Object
show all
Defined in:
lib/picasa/presenter/author.rb

Instance Attribute Summary

Attributes inherited from Base

#parsed_body

Instance Method Summary collapse

Methods inherited from Base

#initialize, #inspect

Methods included from Utils

array_wrap, inline_query, map_to_boolean, map_to_date, map_to_float, map_to_integer, retrieve, safe_retrieve

Constructor Details

This class inherits a constructor from Picasa::Presenter::Base

Instance Method Details

#nameString


7
8
9
# File 'lib/picasa/presenter/author.rb', line 7

def name
  @name ||= safe_retrieve(parsed_body, "name")
end

#uriString


12
13
14
# File 'lib/picasa/presenter/author.rb', line 12

def uri
  @uri ||= safe_retrieve(parsed_body, "uri")
end