class GitHub::Payload::Formatter::CreateEvent

Public Instance Methods

sender_name() click to toggle source
# File lib/github/payload/formatter/create_event.rb, line 7
def sender_name
  payload['sender']['login']
end
summary_message() click to toggle source
# File lib/github/payload/formatter/create_event.rb, line 15
def summary_message
  "[#{repo_name}] #{sender_name} just created #{payload['ref']}."
end
summary_url() click to toggle source
# File lib/github/payload/formatter/create_event.rb, line 11
def summary_url
  payload['repository']['html_url'] + "/commits/#{payload['ref']}"
end