Method: ApiSpec::ErrorResponse#code

Defined in:
lib/api_spec/helpers.rb

#codeObject

Returns the value of attribute code

Returns:

  • (Object)

    the current value of code



4
5
6
# File 'lib/api_spec/helpers.rb', line 4

def code
  @code
end