Files
codeocean/app/models/code_harbor_link.rb
leo.selig f2a1a748d5 Replace CodeHarbourLink .erb wtih .slim templates
- this is consistent with the remaining view architecture

(leoselig/codeocean#2)
2016-02-04 12:06:59 +01:00

9 lines
122 B
Ruby

class CodeHarborLink < ActiveRecord::Base
validates :oauth2token, presence: true
def to_s
oauth2token
end
end