Class: OpenID::Store::Association

Inherits:
Object
  • Object
show all
Includes:
Mongoid::Document
Defined in:
lib/openid/store/models/association.rb

Overview

Wrapper class for an OpenID::Association object.

Instance Method Summary collapse

Instance Method Details

#from_recordOpenID::Association

Create an OpenID::Association object from this object.

Returns:

  • (OpenID::Association)

    Child object created from this document.



12
13
14
# File 'lib/openid/store/models/association.rb', line 12

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