class Hamburglar::InvalidGateway

Raised when trying to assign an invalid gateway to Hamburglar.gateway

Public Class Methods

new(gateway = nil) click to toggle source
Calls superclass method
# File lib/hamburglar/errors.rb, line 4
def initialize(gateway = nil)
  msg = "Invalid gateway"
  msg << ", #{gateway}" if gateway
  super msg
end