module SawyerResourceGithub

Public Instance Methods

html_url() click to toggle source
# File lib/github/nippou/concerns/sawyer_resource_github.rb, line 5
def html_url
  if self.payload.pull_request
    self.payload.pull_request.html_url
  else
    self.payload.issue.html_url
  end
end