lib/fastly/cache_setting.rb in fastly-1.1.1 vs lib/fastly/cache_setting.rb in fastly-1.1.2
- old
+ new
@@ -39,9 +39,9 @@
# should be used.
private
# needs an 's' at the end of the url
def self.path
- self.to_s.split("::")[-1].underscore + "s"
+ Util.class_to_path(self, true)
end
end
end