Sha256: 75c65cd6205cea4cec3d6d08473affd23d54fbdc7bd7ca20ad49481ae9142155

Contents?: true

Size: 382 Bytes

Versions: 1

Compression:

Stored size: 382 Bytes

Contents

module Transit
  module Package
    
    module Page
      extend ActiveSupport::Concern
      
      included do
        field :name,        :type => String
        field :url,         :type => String
        field :keywords,    :type => Array
        field :description, :type => String
        
        scope :published, where(:published => true)
      end
    end
    
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
transit-0.0.1 lib/transit/package/page.rb