Sha256: 065845ad26c77eef2a92de928f9119cbbac6d1712020c7cb4082e2aa87cbeef4

Contents?: true

Size: 388 Bytes

Versions: 1

Compression:

Stored size: 388 Bytes

Contents

class Client < ActiveRecord::Base
  Client.table_name = "client"
  Client.primary_key = "clientid"

  if MYSQL
    Client.table_name = "Client"
    def id; self.ClientId; end
    def name; self.Name; end
    def uname; self.Uname rescue ""; end
    def autoprune?; self.AutoPrune?; end
    def fileretention; self.FileRetention; end
    def jobretention; self.JobRetention; end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
bacuview-1.5 app/models/client.rb