class Kaiterra::API::Request

Included Modules

Extended Modules

Defined in:

kaiterra/api.cr

Constructors

Instance Method Summary

Constructor Detail

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

[View source]

Instance Method Detail

def body : String | Nil #

[View source]
def body=(body : String | Nil) #

[View source]
def headers : Array(NamedTuple(name: String, value: String)) | Nil #

headers (json, optional) - A JSON array of header description objects, each of which has a name and value object


[View source]
def headers=(headers : Array(NamedTuple(name: String, value: String)) | Nil) #

headers (json, optional) - A JSON array of header description objects, each of which has a name and value object


[View source]
def method : String #

[View source]
def method=(method : String) #

[View source]
def relative_url : String #

[View source]
def relative_url=(relative_url : String) #

[View source]