struct CrystaLXD::Success(T)

Included Modules

Defined in:

success.cr

Constructors

Instance Method Summary

Constructor Detail

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

[View source]

Instance Method Detail

def error : String #

[View source]
def error_code : Int32 #

[View source]
def metadata : T #

[View source]
def noerr! #

Returns self. Used to only return a Success without an union with Error.


[View source]
def operation : String #

[View source]
def status : String #

[View source]
def status_code : Code #

[View source]
def success(&) #

Yields self. Useful in case of an union with Error.


[View source]
def type : Operation #

[View source]