Class: TShield::Request
- Inherits:
-
Object
- Object
- TShield::Request
- Defined in:
- lib/tshield/request.rb
Overview
Base of request mock methods
Direct Known Subclasses
Instance Attribute Summary collapse
-
#configuration ⇒ Object
readonly
Returns the value of attribute configuration.
Instance Method Summary collapse
-
#initialize ⇒ Request
constructor
A new instance of Request.
Constructor Details
#initialize ⇒ Request
Returns a new instance of Request.
10 11 12 |
# File 'lib/tshield/request.rb', line 10 def initialize @configuration = TShield::Configuration.singleton end |
Instance Attribute Details
#configuration ⇒ Object (readonly)
Returns the value of attribute configuration.
8 9 10 |
# File 'lib/tshield/request.rb', line 8 def configuration @configuration end |