module Boxlet::Models

Public Class Methods

file_model() click to toggle source
# File lib/boxlet/app/models.rb, line 3
def self.file_model
  {
    filename: '',
    size: 0,
    local_date: 0,
    thumbnail: '',
    asset_path: '',
    asset_date: '',
    uuid: []
  }
end
user_model() click to toggle source
# File lib/boxlet/app/models.rb, line 15
def self.user_model
  {
    username: '',
    password: '',
    uuid: '',
    notifications: 1,
    last_activity: Time.now
  }
end