lib/github_api/error/forbidden.rb in github_api-0.6.3 vs lib/github_api/error/forbidden.rb in github_api-0.6.4

- old
+ new

@@ -1,12 +1,14 @@ # encoding: utf-8 module Github #:nodoc # Raised when Github returns the HTTP status code 403 module Error - class Forbidden < GithubError - def initialize(env) - super(env) + class Forbidden < ServiceError + http_status_code 403 + + def initialize(response) + super(response) end end end # Error end # Github