9 lines
350 B
Ruby
9 lines
350 B
Ruby
|
class RulingBusSetting
|
||
|
include Mongoid::Document
|
||
|
include Mongoid::Timestamps
|
||
|
field :app_key, type: String, default: ""
|
||
|
field :app_id, type: String, default: ""
|
||
|
field :update_interval, type: Integer, default: 20
|
||
|
field :update_front_interval, type: Integer, default: 5
|
||
|
field :update_route_interval, type: Integer, default: 180 #minute
|
||
|
end
|