class GitHub::Payload::Formatter::PublicEvent

Public Instance Methods

sender_name() click to toggle source
# File lib/github/payload/formatter/public_event.rb, line 11
def sender_name
  payload['sender']['login']
end
summary_message() click to toggle source
# File lib/github/payload/formatter/public_event.rb, line 15
def summary_message
  "[#{repo_name}] #{sender_name} just made the repo public."
end
summary_url() click to toggle source
# File lib/github/payload/formatter/public_event.rb, line 7
def summary_url
  payload['repository']['html_url']
end