Class: Netscaler::MockAdapter::Result
- Inherits:
-
Object
- Object
- Netscaler::MockAdapter::Result
- Defined in:
- lib/netscaler/mock_adapter.rb
Instance Method Summary collapse
- #header ⇒ Object
-
#initialize ⇒ Result
constructor
A new instance of Result.
Constructor Details
#initialize ⇒ Result
Returns a new instance of Result.
7 8 9 |
# File 'lib/netscaler/mock_adapter.rb', line 7 def initialize @headers = {'content-type' => 'application/json'} end |
Instance Method Details
#header ⇒ Object
11 12 13 |
# File 'lib/netscaler/mock_adapter.rb', line 11 def header return @headers end |