Exception: BadGateway
- Inherits:
-
RuntimeError
- Object
- RuntimeError
- BadGateway
- Defined in:
- lib/urlshort.rb
Instance Method Summary collapse
-
#initialize(msg) ⇒ BadGateway
constructor
A new instance of BadGateway.
Constructor Details
#initialize(msg) ⇒ BadGateway
Returns a new instance of BadGateway.
24 25 26 27 |
# File 'lib/urlshort.rb', line 24 def initialize(msg) puts "Our rate limit was exceeded." puts msg end |