struct

GistPayload::GistFilePayload

Inherits JSON::Serializable < Struct < Value < Object

Represents a file NOTE: Fields which are required to gist creation filename

Constructors

new(content : String, filename : String | Nil = nil)
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, filename _filename = @filename)
Source
filename