struct CommitPayload
- CommitPayload
- Struct
- Value
- Object
Included Modules
- JSON::Serializable
Defined in:
githubcr/payloads/commit.crConstructors
- .new(message : String, tree : String, parents : Array(String), author : CommitPayload::Author | Nil = nil, committer : CommitPayload::Author | Nil = nil, signature : String | Nil = nil)
- .new(pull : JSON::PullParser)
Instance Method Summary
- #author : CommitPayload::Author | Nil
- #clone
- #committer : CommitPayload::Author | Nil
- #copy_with(message _message = @message, tree _tree = @tree, parents _parents = @parents, author _author = @author, committer _committer = @committer, signature _signature = @signature)
- #message : String
- #parents : Array(String)
- #signature : String | Nil
- #tree : String
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)
#
Instance Method Detail
def copy_with(message _message = @message, tree _tree = @tree, parents _parents = @parents, author _author = @author, committer _committer = @committer, signature _signature = @signature)
#