Sha256: 1d176bc5b9ab97bd4ca0dec4a5d6ea40067e9bc56bf3dfa07d5ccf75ffc1d9bb

Contents?: true

Size: 379 Bytes

Versions: 5

Compression:

Stored size: 379 Bytes

Contents

require 'dm-core'
require 'dm-timestamps'

class Authorization
  include DataMapper::Resource
  belongs_to :user

  property :id,          Serial
  property :user_id,     Integer
  property :provider,    String
  property :uid,         String
  property :uname,       String
  property :uemail,      String
  property :created_at,  DateTime
  property :updated_at,  DateTime
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
sinatra_omniauth-0.2.2 lib/models/authorization.rb
sinatra_omniauth-0.2.1 lib/models/authorization.rb
sinatra_omniauth-0.2.0 lib/models/authorization.rb
sinatra_omniauth-0.1.0 lib/models/authorization.rb
sinatra_omniauth-0.0.0 lib/models/authorization.rb