Class: Kusto::Rest::QueryContext

Inherits:
Context
  • Object
show all
Defined in:
lib/kusto/rest/context/query_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:) ⇒ QueryContext

Returns a new instance of QueryContext.



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

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

Instance Attribute Details

#pathObject (readonly)

Returns the value of attribute path.



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

def path
  @path
end