struct
Slack::Models::DefaultResponse
- Slack::Models::DefaultResponse
- Slack::Model
- Struct
- Value
- Object
Overview
Used for Slack response objects that only include { ok: true }.
Defined in:
slack/models/default_response.crConstant Summary
-
ASSIGNED_TYPES =
[] of TypeDeclaration -
Used for Slack response objects that only include { ok: true }.
Constructors
-
.new(pull : JSON::PullParser)
Used for Slack response objects that only include { ok: true }.
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
Macros inherited from module Slack::JSONRecords
json_record(klass, *type_declarations)
json_record
Macros inherited from module Slack::InitializerMacros
generate_initializer
generate_initializer,
inherit_assigns
inherit_assigns,
properties_with_initializer(*type_declarations)
properties_with_initializer,
setup_initializer_hook
setup_initializer_hook
Constructor Detail
def self.new(pull : JSON::PullParser)
#
Used for Slack response objects that only include { ok: true }.