Sha256: b2bf77401f7786190f2e4a2007364ac8288762bded333f9b2fee60da70a26e68

Contents?: true

Size: 389 Bytes

Versions: 2

Compression:

Stored size: 389 Bytes

Contents

require 'rubygems'
require 'dm-core'
require 'dm-types'
require 'dm-validations'

module ConsadoleAggregator
  module NikkanSports
    class Entry
      include DataMapper::Resource

      property :id, Serial
      property :uri, URI, :unique => true
      property :title, String
      property :text, Text
      property :post_date, Time
      property :image, String
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
consadole_aggregator-0.0.2 lib/consadole_aggregator/nikkan_sports/entry.rb
consadole_aggregator-0.0.0 lib/consadole_aggregator/nikkan_sports/entry.rb