Class: Vermillion::Test::Base::MockRequest

Inherits:
Struct
  • Object
show all
Defined in:
lib/test/base.rb

Overview

Struct to mock the actual Request object

Instance Attribute Summary collapse

Instance Attribute Details

#commandObject

Returns the value of attribute command

Returns:

  • (Object)

    the current value of command



9
10
11
# File 'lib/test/base.rb', line 9

def command
  @command
end

#controllerObject

Returns the value of attribute controller

Returns:

  • (Object)

    the current value of controller



9
10
11
# File 'lib/test/base.rb', line 9

def controller
  @controller
end

#paramObject

Returns the value of attribute param

Returns:

  • (Object)

    the current value of param



9
10
11
# File 'lib/test/base.rb', line 9

def param
  @param
end