Module: Workarea::UrlToken::ClassMethods

Defined in:
lib/workarea/url_token.rb

Instance Method Summary collapse

Instance Method Details

#find_by_token(token) ⇒ Object



14
15
16
# File 'lib/workarea/url_token.rb', line 14

def find_by_token(token)
  find_by(token: token) rescue nil
end