Class: WhoNeedsWP::Latitude
- Defined in:
- lib/who-needs-wp/sidebar/latitude.rb
Instance Method Summary collapse
-
#initialize(username) ⇒ Latitude
constructor
A new instance of Latitude.
-
#render ⇒ Object
See Sidebar.render.
Methods inherited from Sidebar
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
#render ⇒ Object
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 |