class Floorsense::Resp(T)

Included Modules

Extended Modules

Defined in:

floorsense/models.cr

Constructors

Instance Method Summary

Constructor Detail

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

[View source]

Instance Method Detail

def code : Int32 | Nil #

[View source]
def code=(code : Int32 | Nil) #

[View source]
def info : T | Nil #

Returned on success


[View source]
def info=(info : T | Nil) #

Returned on success


[View source]
def message : String | Nil #

Returned on failure


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

Returned on failure


[View source]
def msg_type : String #

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

[View source]
def result : Bool #

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

[View source]