Class: Kusto::Rest::ManagementContext

Inherits:
Context
  • Object
show all
Defined in:
lib/kusto/rest/context/management_context.rb

Defined Under Namespace

Classes: Error

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods inherited from Context

#endpoint, #post

Constructor Details

#initialize(url:, token:) ⇒ ManagementContext

Returns a new instance of ManagementContext.



12
13
14
15
# File 'lib/kusto/rest/context/management_context.rb', line 12

def initialize(url:, token:)
  super(url:, token:)
  @path = "v1/rest/mgmt"
end

Instance Attribute Details

#pathObject (readonly)

Returns the value of attribute path.



8
9
10
# File 'lib/kusto/rest/context/management_context.rb', line 8

def path
  @path
end