Sha256: 5100aaf135139353ae7d67995b98a8dc4f183f56edd752d372a37df6b3e3ea76
Contents?: true
Size: 381 Bytes
Versions: 1
Compression:
Stored size: 381 Bytes
Contents
class User < ActiveRecord::Base devise :openid_authenticatable def self.create_from_identity_url(identity_url) create do |user| user.identity_url = identity_url end end def self.openid_required_fields ["http://axschema.org/contact/email"] end def openid_fields=(fields) self.email = fields["http://axschema.org/contact/email"].first end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
devise_openid_authenticatable-1.0.0.alpha6 | spec/scenario/app/models/user.rb |