Class: Pasaporte::Models::Association
- Inherits:
-
Base
- Object
- Base
- Pasaporte::Models::Association
- Defined in:
- lib/pasaporte/models.rb
Overview
Openid assocs
Instance Method Summary collapse
Instance Method Details
#expired? ⇒ Boolean
228 229 230 |
# File 'lib/pasaporte/models.rb', line 228 def expired? Time.now.to_i > (issued + lifetime) end |
#from_record ⇒ Object
224 225 226 |
# File 'lib/pasaporte/models.rb', line 224 def from_record OpenID::Association.new(handle, secret, issued, lifetime, assoc_type) end |