lib/travis/client/entity.rb in travis-1.6.3.travis.390.4 vs lib/travis/client/entity.rb in travis-1.6.3.travis.392.4

- old
+ new

@@ -84,9 +84,19 @@ def self.id_field(key = nil) @id_field = key.to_s if key @id_field || superclass.id_field end + def self.preloadable + def self.preloadable? + true + end + end + + def self.preloadable? + false + end + id_field :id def initialize(session, id) raise Travis::Client::Error, '%p is not a valid id' % id unless self.class.id? id @attributes = {}