Class: Utopia::Controller::Result

Inherits:
Data
  • Object
show all
Defined in:
lib/utopia/controller/result.rb

Overview

A semantic controller result awaiting response negotiation.

Instance Attribute Summary collapse

Instance Attribute Details

#headersObject (readonly)

Returns the value of attribute headers

Returns:

  • (Object)

    the current value of headers



9
10
11
# File 'lib/utopia/controller/result.rb', line 9

def headers
  @headers
end

#statusObject (readonly)

Returns the value of attribute status

Returns:

  • (Object)

    the current value of status



9
10
11
# File 'lib/utopia/controller/result.rb', line 9

def status
  @status
end

#valueObject (readonly)

Returns the value of attribute value

Returns:

  • (Object)

    the current value of value



9
10
11
# File 'lib/utopia/controller/result.rb', line 9

def value
  @value
end