Class: OpenIDDataMapper::Association

Inherits:
Object
  • Object
show all
Includes:
DataMapper::Resource
Defined in:
lib/association.rb

Class Method Summary collapse

Instance Method Summary collapse

Class Method Details

.default_storage_nameObject



16
17
18
# File 'lib/association.rb', line 16

def self.default_storage_name
  "OpenIdAssociation"
end

Instance Method Details

#from_recordObject



20
21
22
# File 'lib/association.rb', line 20

def from_record
  OpenID::Association.new(handle, secret, issued, lifetime, assoc_type)
end