class Ubi::Memoria::Who

Whoami

Public Class Methods

apps() click to toggle source
# File lib/ubi/memorias/who.rb, line 6
def apps
  {
    twitter: 'twitter.com',
    facebook: 'facebook.com',
    foursquare: 'foursquare.com'
  }
end
regex(url) click to toggle source
# File lib/ubi/memorias/who.rb, line 14
def regex(url)
  %r{https?://(?:\w+\.)*(#{url}/.*)}
end