Class: WhoNeedsWP::Latitude

Inherits:
Sidebar
  • Object
show all
Defined in:
lib/who-needs-wp/sidebar/latitude.rb

Instance Method Summary collapse

Methods inherited from Sidebar

render_all

Constructor Details

#initialize(username) ⇒ Latitude

Returns a new instance of Latitude.



3
4
5
6
# File 'lib/who-needs-wp/sidebar/latitude.rb', line 3

def initialize(username)
  super()
  @username = username
end

Instance Method Details

#renderObject

See Sidebar.render



9
10
11
12
# File 'lib/who-needs-wp/sidebar/latitude.rb', line 9

def render
  @logger.debug "Rendering Latitude iFrame"
  WhoNeedsWP::render_template("latitude", { :username => @username })
end