struct Slack::Models::DefaultResponse

Overview

Used for Slack response objects that only include { ok: true }.

Defined in:

slack/models/default_response.cr

Constant Summary

ASSIGNED_TYPES = [] of TypeDeclaration

Used for Slack response objects that only include { ok: true }.

Constructors

Instance Method Summary

Constructor methods inherited from struct Slack::Model

new(pull : JSON::PullParser) new

Class methods inherited from struct Slack::Model

keyed_json_object(json : String | IO, find_key : String, &)
keyed_json_object(json : String | IO, find_key : String)
keyed_json_object

Constructor Detail

def self.new(pull : JSON::PullParser) #

Used for Slack response objects that only include { ok: true }.


[View source]

Instance Method Detail

def ok : Bool #

[View source]
def ok=(ok : Bool) #

[View source]