Method: Controls::Error#to_json

Defined in:
lib/controls/objects/error.rb

#to_jsonString

Returns the JSON representation of the attributes.

Returns:

  • the JSON representation of the attributes



35
36
37
# File 'lib/controls/objects/error.rb', line 35

def to_json
  @__attributes__.to_json
end