abstract struct Slack::Api::Base

Overview

https://api.slack.com/web

Pass arguments as:

GET querystring parameters POST parameters presented as application/x-www-form-urlencoded or a mix of both GET and POST parameters

Most write methods allow arguments application/json attributes. https://api.slack.com/web#methods_supporting_json

Included Modules

Direct Known Subclasses

Defined in:

slack/api/endpoints/base.cr

Constant Summary

ASSIGNED_TYPES = [token : String] of TypeDeclaration

Constructors

Instance Method Summary

Constructor Detail

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

[View source]

Instance Method Detail

abstract def call : Slack::Model #

[View source]
abstract def content_type : ContentTypes #

[View source]
def headers #

[View source]
abstract def request_url : String #

[View source]
abstract def result : HTTP::Client::Response #

[View source]
def token : String #

def token=(token : String) #