lib/fastly/base.rb in fastly-1.1.1 vs lib/fastly/base.rb in fastly-1.1.2

- old
+ new

@@ -1,6 +1,5 @@ - class Fastly # Base class for all Fastly objects class Base # :nodoc: all attr_accessor :fetcher @@ -33,10 +32,10 @@ end ret end def self.path - self.to_s.split("::")[-1].underscore + Util.class_to_path(self) end def self.get_path(id) "/#{path}/#{id}" end