Exception: LocalCDN::MissingCDN

Inherits:
NameError
  • Object
show all
Defined in:
lib/local_cdn.rb

Overview

Exception class, for when the specified CDN has not been defined.

Instance Method Summary collapse

Constructor Details

#initialize(cdn) ⇒ MissingCDN

Returns a new instance of MissingCDN.



80
81
82
# File 'lib/local_cdn.rb', line 80

def initialize(cdn)
  super "Expected the CDN '#{cdn}' to be defined in the cdn.remote.yml config file"
end