Sha256: 40b6eabc2471b877cf17745fb88e03b5c2a0f282c685dfe712254bec5d14f58d

Contents?: true

Size: 291 Bytes

Versions: 3

Compression:

Stored size: 291 Bytes

Contents

class Authentication
  include DataMapper::Resource

  belongs_to :user

  property :id, Serial
  property :user_id, Integer
  property :provider, String
  property :uid, String, :length => 240
  property :user_name, String, :length => 240
  property :user_email, String, :length => 240
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
sinatra_omniauth-0.2.2 models/authentication.rb
sinatra_omniauth-0.2.1 models/authentication.rb
sinatra_omniauth-0.2.0 models/authentication.rb