Class: OAuth::Problem — Documentation by YARD 0.9.45

# Class: OAuth::Problem

Inherits:
  Unauthorized
  - Object
  - Unauthorized
  - OAuth::Problem
  show all

Defined in:
  lib/oauth/errors/problem.rb

## Instance Attribute Summary collapse

- #params ⇒ Object readonly

  Returns the value of attribute params.

- #problem ⇒ Object readonly

  Returns the value of attribute problem.

## Instance Method Summary collapse

- #initialize(problem, request = nil, params = {}) ⇒ Problem constructor

  A new instance of Problem.

- #to_s ⇒ Object

## Constructor Details

### #initialize(problem, request = nil, params = {}) ⇒ `Problem`

Returns a new instance of Problem.

    7
    8
    9
    10
    11
    # File 'lib/oauth/errors/problem.rb', line 7

    def initialize(problem, request = nil, params = {})
      super(request)
      @problem = problem
      @params = params
    end

## Instance Attribute Details

### #params ⇒ `Object` (readonly)

Returns the value of attribute params.

    5
    6
    7
    # File 'lib/oauth/errors/problem.rb', line 5

    def params
      @params
    end

### #problem ⇒ `Object` (readonly)

Returns the value of attribute problem.

    5
    6
    7
    # File 'lib/oauth/errors/problem.rb', line 5

    def problem
      @problem
    end

## Instance Method Details

### #to_s ⇒ `Object`

    13
    14
    15
    # File 'lib/oauth/errors/problem.rb', line 13

    def to_s
      problem
    end