Class: Netscaler::MockAdapter::Result

Inherits:
Object
  • Object
show all
Defined in:
lib/netscaler/mock_adapter.rb

Instance Method Summary collapse

Constructor Details

#initializeResult

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

#headerObject



11
12
13
# File 'lib/netscaler/mock_adapter.rb', line 11

def header
  return @headers
end