module GithubPivotalFlow::GitHubAPI::Exceptions
Fake exception type for net/http exception handling. Necessary because net/http may or may not be loaded at the time.
Public Class Methods
===(exception)
click to toggle source
# File lib/github_pivotal_flow/github_api.rb, line 14 def self.===(exception) exception.class.ancestors.map {|a| a.to_s }.include? 'Net::HTTPExceptions' end