lib/fastly/base.rb in fastly-1.01 vs lib/fastly/base.rb in fastly-1.1.0
- old
+ new
@@ -33,10 +33,10 @@
end
ret
end
def self.path
- self.to_s.downcase.split("::")[-1]
+ self.to_s.split("::")[-1].underscore
end
def self.get_path(id)
"/#{path}/#{id}"
end