Class: Picasa::Presenter::Base

Inherits:
Object
  • Object
show all
Includes:
Utils
Defined in:
lib/picasa/presenter/base.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#initialize(parsed_body) ⇒ Base


8
9
10
# File 'lib/picasa/presenter/base.rb', line 8

def initialize(parsed_body)
  @parsed_body = parsed_body
end

Instance Attribute Details

#parsed_bodyObject (readonly)

Returns the value of attribute parsed_body


6
7
8
# File 'lib/picasa/presenter/base.rb', line 6

def parsed_body
  @parsed_body
end

Instance Method Details

#inspectObject


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

def inspect
  "#<#{self.class}>"
end