struct CommitPayload

Included Modules

Defined in:

githubcr/payloads/commit.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(message : String, tree : String, parents : Array(String), author : CommitPayload::Author | Nil = nil, committer : CommitPayload::Author | Nil = nil, signature : String | Nil = nil) #

[View source]
def self.new(pull : JSON::PullParser) #

[View source]

Instance Method Detail

def author : CommitPayload::Author | Nil #

def clone #

[View source]
def committer : CommitPayload::Author | Nil #

def copy_with(message _message = @message, tree _tree = @tree, parents _parents = @parents, author _author = @author, committer _committer = @committer, signature _signature = @signature) #

[View source]
def message : String #

def parents : Array(String) #

def signature : String | Nil #

def tree : String #