Exception: BadGateway

Inherits:
RuntimeError
  • Object
show all
Defined in:
lib/urlshort.rb

Instance Method Summary collapse

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