lib/mirage/client/template.rb in mirage-3.0.0.alpha.17 vs lib/mirage/client/template.rb in mirage-3.0.0
- old
+ new
@@ -17,10 +17,10 @@
class << self
alias_method :backedup_get, :get
def get url
response = backedup_get(url, :format => :json)
- raise ResponseNotFound if response.code == 404
+ raise TemplateNotFound if response.code == 404
response_hashie = Hashie::Mash.new response
response_config = response_hashie.response
request_config = response_hashie.request
\ No newline at end of file