struct BlobPayload

Overview

Represents gist creation payload

NOTE Fields which are required to gist creation public

Included Modules

Defined in:

githubcr/payloads/blob.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(content : String, encode : String | Nil = "utf-8") #

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

[View source]

Instance Method Detail

def clone #

[View source]
def content : String #

def copy_with(content _content = @content, encode _encode = @encode) #

[View source]
def encode : String | Nil #