Sha256: ba62ceb23b11dff413044fe8af0eb7399f964798329bcb91aeb6add385aecf36

Contents?: true

Size: 273 Bytes

Versions: 1

Compression:

Stored size: 273 Bytes

Contents

require 'juggalo/portlet'
require 'juggalo/portlet/loader/http'

module Juggalo
  class Portlet::Factory
    def self.create(c)
      adapter = Portlet::Loader::HTTP.new
      loader  = Portlet::Loader.new(adapter)

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

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
juggalo-0.0.2 lib/juggalo/portlet/factory.rb