File: problem.rb

package info (click to toggle)
ruby-oauth 0.5.4-1.1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, bullseye, forky, sid, trixie
  • size: 584 kB
  • sloc: ruby: 4,070; makefile: 4
file content (14 lines) | stat: -rw-r--r-- 265 bytes parent folder | download | duplicates (6)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
module OAuth
  class Problem < OAuth::Unauthorized
    attr_reader :problem, :params
    def initialize(problem, request = nil, params = {})
      super(request)
      @problem = problem
      @params  = params
    end

    def to_s
      problem
    end
  end
end