class HuginnGithubNotificationsAgent::Subject
Public Instance Methods
url_web()
click to toggle source
# File lib/huginn_github_notifications_agent/subject.rb, line 14 def url_web matches = url.scan(%r{/(?<type>pull|issues)s?/(?<id>\d+)$}) (["https://github.com/#{repo_name}"] << matches.flatten).join('/') end