registered-sites/app/models/site_status.rb

8 lines
199 B
Ruby
Raw Permalink Normal View History

2020-04-01 03:44:59 +00:00
class SiteStatus
include Mongoid::Document
include Mongoid::Timestamps
field :status
field :can_login,default: false
field :href, type: String ,default: ''
belongs_to :registered_site
end