Class: WhoNeedsWP::Delicious

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

Instance Method Summary collapse

Methods inherited from Sidebar

render_all

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
  validate_options
end

Instance Method Details

#renderObject

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