Method: LockstepSdk::ErrorResult#as_json

Defined in:
lib/lockstep_sdk/models/error_result.rb

#as_json(options = {}) ⇒ object

Returns This object as a JSON key-value structure.

Returns:

  • (object)

    This object as a JSON key-value structure



60
61
62
63
64
65
66
67
68
69
# File 'lib/lockstep_sdk/models/error_result.rb', line 60

def as_json(options={})
    {
        'type' => @type,
        'title' => @title,
        'status' => @status,
        'detail' => @detail,
        'instance' => @instance,
        'content' => @content,
    }
end