Sha256: a8fe1201a3c0901ec9d9a182d19620fc0fe35c5fcf2d2f22e766208ac5e5a45b

Contents?: true

Size: 505 Bytes

Versions: 10

Compression:

Stored size: 505 Bytes

Contents

module VPNMaker
  module DataStore
    class CA
      include DataMapper::Resource

      property :id, Serial
      property :updated_at, DateTime
      property :created_at, DateTime

      property :name, String
      property :country, String
      property :province, String
      property :city, String
      property :organization, String
      property :email, String

      DataMapper::Model.raise_on_save_failure = true
      DataMapper.finalize
      DataMapper.auto_upgrade!
    end
  end
end

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
vpnmaker-1.0.11 lib/datastore/ca.rb
vpnmaker-1.0.10 lib/datastore/ca.rb
vpnmaker-1.0.9 lib/datastore/ca.rb
vpnmaker-1.0.8 lib/datastore/ca.rb
vpnmaker-1.0.7 lib/datastore/ca.rb
vpnmaker-1.0.6 lib/datastore/ca.rb
vpnmaker-1.0.4 lib/datastore/ca.rb
vpnmaker-1.0.3 lib/datastore/ca.rb
vpnmaker-1.0.2 lib/datastore/ca.rb
vpnmaker-1.0.1 lib/datastore/ca.rb