Exception: Blix::Rest::AuthorizationError
- Inherits:
-
StandardError
- Object
- StandardError
- Blix::Rest::AuthorizationError
- Defined in:
- lib/blix/rest.rb
Instance Attribute Summary collapse
-
#realm ⇒ Object
readonly
Returns the value of attribute realm.
-
#type ⇒ Object
readonly
Returns the value of attribute type.
Instance Method Summary collapse
-
#initialize(message = nil, realm = nil, type = nil) ⇒ AuthorizationError
constructor
A new instance of AuthorizationError.
Constructor Details
#initialize(message = nil, realm = nil, type = nil) ⇒ AuthorizationError
Returns a new instance of AuthorizationError.
128 129 130 131 132 |
# File 'lib/blix/rest.rb', line 128 def initialize(=nil, realm=nil, type=nil) super( || "") @realm = realm || 'rest' @type = type || 'Basic' end |
Instance Attribute Details
#realm ⇒ Object (readonly)
Returns the value of attribute realm.
127 128 129 |
# File 'lib/blix/rest.rb', line 127 def realm @realm end |
#type ⇒ Object (readonly)
Returns the value of attribute type.
127 128 129 |
# File 'lib/blix/rest.rb', line 127 def type @type end |