Why Gemfury? Push, build, and install  RubyGems npm packages Python packages Maven artifacts PHP packages Go Modules Bower components Debian packages RPM packages NuGet packages

vistahigherlearning / common_cartridge   ruby

Repository URL to install this package:

Version: 1.0.1 

module CommonCartridge
  module Elements
    module Resources
      class Page
        attr_accessor :identifier, :identifierref

        include SAXMachine
        element :title
        element :text
        element :text, value: :texttype, as: :text_type

        def self.type
          :page
        end

        def self.pattern
          /webcontent/
        end
      end
    end
  end
end