Sha256: df1d68861a037533ddeb1fd1c64bc8cec9c93562d0202d33b35d97135b40d9b5

Contents?: true

Size: 215 Bytes

Versions: 4

Compression:

Stored size: 215 Bytes

Contents

class Server < ActiveRecord::Base
	#
	# When converting to json don't include the root element (:Server => {})
	#
	self.include_root_in_json = false
		
	
	protected
	
	
	validates_presence_of :hostname, :online
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
automate-em-0.0.4 app/models/server.rb
automate-em-0.0.3 app/models/server.rb
automate-em-0.0.2 app/models/server.rb
automate-em-0.0.1 app/models/server.rb