Sha256: c36940a23f0dacc41d8732e89f1679adcb628800195e931e7822b5a4d90ba61e

Contents?: true

Size: 255 Bytes

Versions: 6

Compression:

Stored size: 255 Bytes

Contents

module Mailroute
  class Customer < Base
    self.collection_name = 'customer'
    has_one :reseller, :pk => 'name'
    has_one :branding_info
    has_many :domains
    has_many :contacts, :class => CustomerContact
    has_admins :class => Admin
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
mailroute-0.0.6 lib/mailroute/models/customer.rb
mailroute-0.0.5 lib/mailroute/models/customer.rb
mailroute-0.0.4 lib/mailroute/models/customer.rb
mailroute-0.0.3 lib/mailroute/models/customer.rb
mailroute-0.0.2 lib/mailroute/models/customer.rb
mailroute-0.0.1 lib/mailroute/models/customer.rb