Sha256: 6d28150332de9be342ead1f44c7e1bd4e460817ccba43c6642a33b34ff63177b

Contents?: true

Size: 438 Bytes

Versions: 2

Compression:

Stored size: 438 Bytes

Contents

#!/usr/bin/env ruby
require 'rubygems'
require File.expand_path('../lib/dm-adapter-simpledb', File.dirname(__FILE__))
require 'logger'
require 'irb'

include DataMapper

class Post
  include Resource
  
  property :title, String, :key => true
  property :body,  Text
end

DataMapper.setup(
  :default,
  :domain  => "example",
  :adapter => 'simpledb',
  :null    => true,
  :logger  => ::Logger.new($stderr, ::Logger::DEBUG))

IRB.start

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
dm-adapter-simpledb-1.5.0 scripts/console
dm-adapter-simpledb-1.4.0 scripts/console