struct

BlobPayload

Inherits JSON::Serializable < Struct < Value < Object

Represents gist creation payload NOTE: Fields which are required to gist creation public

Constructors

new(content : String, encode : String | Nil = "utf-8")
Source
new(pull : JSON::PullParser)
Source
new(*, __pull_for_json_serializable pull : JSON::PullParser)
Source

Instance methods

clone
Source
content
copy_with(content _content = @content, encode _encode = @encode)
Source
encode