lib/travis/client/entity.rb in travis-1.6.15.travis.564.6 vs lib/travis/client/entity.rb in travis-1.6.15.travis.565.6
- old
+ new
@@ -37,9 +37,13 @@
def self.many(key = nil)
MAP[key.to_s] = self if key
@many ||= key.to_s
end
+ def self.base_path
+ many
+ end
+
def self.attributes(*list)
@attributes ||= []
list.each do |name|
name = name.to_s