module Medium::ConnectionAPI

Defined in:

medium/connection_api.cr

Constant Summary

HOST = "api.medium.com"

Instance Method Summary

Instance Method Detail

def get(endpoint, headers : HTTP::Headers | Nil = nil, body : String | Nil = nil) #

[View source]
def http : HTTP::Client #

[View source]
def patch(endpoint, headers : HTTP::Headers | Nil = nil, body : String | Nil = nil) #

[View source]
def post(endpoint, headers : HTTP::Headers | Nil = nil, body : String | Nil = nil) #

[View source]
def request(method, endpoint, headers : HTTP::Headers | Nil = nil, body : String | Nil = nil) #

[View source]