Class: OpenID::Association
- Inherits:
-
Object
- Object
- OpenID::Association
- Defined in:
- lib/openid/association.rb
Direct Known Subclasses
Instance Attribute Summary collapse
-
#expiry ⇒ Object
Returns the value of attribute expiry.
-
#handle ⇒ Object
Returns the value of attribute handle.
-
#secret ⇒ Object
Returns the value of attribute secret.
Instance Method Summary collapse
-
#initialize(handle, secret, expiry, replace_after) ⇒ Association
constructor
A new instance of Association.
Constructor Details
#initialize(handle, secret, expiry, replace_after) ⇒ Association
Returns a new instance of Association.
12 13 14 15 16 17 |
# File 'lib/openid/association.rb', line 12 def initialize(handle, secret, expiry, replace_after) @handle = handle.to_s @secret = secret.to_s @replace_after = replace_after @expiry = expiry end |
Instance Attribute Details
#expiry ⇒ Object
Returns the value of attribute expiry.
10 11 12 |
# File 'lib/openid/association.rb', line 10 def expiry @expiry end |
#handle ⇒ Object
Returns the value of attribute handle.
10 11 12 |
# File 'lib/openid/association.rb', line 10 def handle @handle end |
#secret ⇒ Object
Returns the value of attribute secret.
10 11 12 |
# File 'lib/openid/association.rb', line 10 def secret @secret end |