class Juggalo::Portlet::Factory

Public Class Methods

create(c) click to toggle source
# File lib/juggalo/portlet/factory.rb, line 6
def self.create(c)
  adapter = Portlet::Loader::HTTP.new
  loader  = Portlet::Loader.new(adapter)

  Juggalo::Portlet.new(c, loader)
end