Exception: OAuth::Problem
- Inherits:
-
Unauthorized
- Object
- StandardError
- Error
- Unauthorized
- OAuth::Problem
- Defined in:
- lib/oauth/errors/problem.rb
Instance Attribute Summary (collapse)
-
- (Object) params
readonly
Returns the value of attribute params.
-
- (Object) problem
readonly
Returns the value of attribute problem.
Attributes inherited from Unauthorized
Instance Method Summary (collapse)
-
- (Problem) initialize(problem, request = nil, params = {})
constructor
A new instance of Problem.
- - (Object) to_s
Constructor Details
- (Problem) initialize(problem, request = nil, params = {})
A new instance of Problem
4 5 6 7 8 |
# File 'lib/oauth/errors/problem.rb', line 4 def initialize(problem, request = nil, params = {}) super(request) @problem = problem @params = params end |
Instance Attribute Details
- (Object) params (readonly)
Returns the value of attribute params
3 4 5 |
# File 'lib/oauth/errors/problem.rb', line 3 def params @params end |
- (Object) problem (readonly)
Returns the value of attribute problem
3 4 5 |
# File 'lib/oauth/errors/problem.rb', line 3 def problem @problem end |
Instance Method Details
- (Object) to_s
10 11 12 |
# File 'lib/oauth/errors/problem.rb', line 10 def to_s problem end |