Sha256: a540846eabc686256141a70f850e7fd6a56d807aed26be18d223654b54fb3e31

Contents?: true

Size: 292 Bytes

Versions: 1

Compression:

Stored size: 292 Bytes

Contents

module Models::Accounts
  class Account < ActiveRecord::Base
    self.table_name = :restpack_account_accounts

    attr_accessible :application_id, :created_by, :name
    validates_presence_of :application_id, :created_by, :name

    validates :name, :length => { :maximum => 256 }
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
restpack_account_service-0.0.5 lib/restpack_account_service/models/account.rb