Sha256: 1c6bffef6460b83bca361f697237d824a4f340684a86cac696452ba6fe54474e

Contents?: true

Size: 318 Bytes

Versions: 1

Compression:

Stored size: 318 Bytes

Contents

module Juggalo
  class Portlet
    attr_reader :id, :type, :opts, :location

    def initialize(opts, loader = nil)
      @opts = opts

      @location = opts["location"]
    end

    def render
      "<div>#{opts}</div>"
    end
  end

  class Portlet::Loader
    attr_reader :adapter

    class HTTP; end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
juggalo-0.0.1 lib/juggalo/portlet.rb