struct CrystaLXD::BackgroundOperation

Included Modules

Defined in:

success.cr

Constructors

Instance Method Summary

Constructor Detail

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

[View source]

Instance Method Detail

def class : String #
Description copied from class Object

Returns the runtime Class of an object.

1.class       # => Int32
"hello".class # => String

Compare it with typeof, which returns the compile-time type of an object:

random_value = rand # => 0.627423
value = random_value < 0.5 ? 1 : "hello"
value         # => "hello"
value.class   # => String
typeof(value) # => Int32 | String

[View source]
def created_at : Time #

[View source]
def description : String #

[View source]
def err : String #

[View source]
def id : String #

[View source]
def location : String #

[View source]
def may_cancel : Bool #

[View source]
def metadata : JSON::Any #

[View source]
def resources : Resources #

[View source]
def status : String #

[View source]
def status_code : Success::Code #

[View source]
def updated_at : Time #

[View source]