Class: ApiSpec::ErrorResponse

Inherits:
Struct
  • Object
show all
Defined in:
lib/api_spec/helpers.rb

Instance Attribute Summary collapse

Instance Attribute Details

#bodyObject

Returns the value of attribute body

Returns:

  • (Object)

    the current value of body



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

def body
  @body
end

#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