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)
Sourcenew(pull : JSON::PullParser)
Sourcenew(*, __pull_for_json_serializable pull : JSON::PullParser)
SourceInstance methods
clone
Sourcecontent
copy_with(content _content = @content, filename _filename = @filename)
Sourcefilename