module SocialStream::Ostatus::Models::Actor::ClassMethods
Public Instance Methods
find_by_webfinger!(link)
click to toggle source
Extract the slug from the webfinger id and return the actor searching by that slug
# File lib/social_stream/ostatus/models/actor.rb, line 23 def find_by_webfinger!(link) link =~ /(acct:)?(.*)@/ find_by_slug! $2 end