Class: Sinatra::Result

Inherits:
Struct
  • Object
show all
Defined in:
lib/codebutler/sinatra.rb

Instance Attribute Summary collapse

Instance Attribute Details

#blockObject

Returns the value of attribute block

Returns:

  • (Object)

    the current value of block



92
93
94
# File 'lib/codebutler/sinatra.rb', line 92

def block
  @block
end

#paramsObject

Returns the value of attribute params

Returns:

  • (Object)

    the current value of params



92
93
94
# File 'lib/codebutler/sinatra.rb', line 92

def params
  @params
end

#statusObject

Returns the value of attribute status

Returns:

  • (Object)

    the current value of status



92
93
94
# File 'lib/codebutler/sinatra.rb', line 92

def status
  @status
end