Class: WhoNeedsWP::Delicious
- Defined in:
- lib/who-needs-wp/sidebar/delicious.rb
Instance Method Summary collapse
-
#initialize(username) ⇒ Delicious
constructor
Create a new Delicious sidebar.
-
#render ⇒ Object
See Sidebar.render.
Methods inherited from Sidebar
Constructor Details
#initialize(username) ⇒ Delicious
Create a new Delicious sidebar
5 6 7 8 9 |
# File 'lib/who-needs-wp/sidebar/delicious.rb', line 5 def initialize(username) super() @username = username end |
Instance Method Details
#render ⇒ Object
See Sidebar.render
12 13 14 |
# File 'lib/who-needs-wp/sidebar/delicious.rb', line 12 def render WhoNeedsWP::render_template("delicious", { :posts => get_bookmarks }) end |