Class: OpenID::Consumer::FailureResponse
- Inherits:
-
Object
- Object
- OpenID::Consumer::FailureResponse
- Includes:
- Response
- Defined in:
- lib/openid/consumer/responses.rb
Constant Summary collapse
- STATUS =
FAILURE
Instance Attribute Summary collapse
-
#contact ⇒ Object
readonly
Returns the value of attribute contact.
-
#message ⇒ Object
readonly
Returns the value of attribute message.
-
#reference ⇒ Object
readonly
Returns the value of attribute reference.
Attributes included from Response
Instance Method Summary collapse
-
#initialize(endpoint, message, contact = nil, reference = nil) ⇒ FailureResponse
constructor
A new instance of FailureResponse.
Methods included from Response
#display_identifier, #identity_url, #status
Constructor Details
#initialize(endpoint, message, contact = nil, reference = nil) ⇒ FailureResponse
Returns a new instance of FailureResponse.
123 124 125 126 127 128 |
# File 'lib/openid/consumer/responses.rb', line 123 def initialize(endpoint, , contact=nil, reference=nil) @endpoint = endpoint @message = @contact = contact @reference = reference end |
Instance Attribute Details
#contact ⇒ Object (readonly)
Returns the value of attribute contact.
122 123 124 |
# File 'lib/openid/consumer/responses.rb', line 122 def contact @contact end |
#message ⇒ Object (readonly)
Returns the value of attribute message.
122 123 124 |
# File 'lib/openid/consumer/responses.rb', line 122 def @message end |
#reference ⇒ Object (readonly)
Returns the value of attribute reference.
122 123 124 |
# File 'lib/openid/consumer/responses.rb', line 122 def reference @reference end |