Class: Spikard::FullSchemaConfig

Inherits:
Object
  • Object
show all
Defined in:
sig/types.rbs

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeFullSchemaConfig

Returns a new instance of FullSchemaConfig.

Parameters:

  • introspection_enabled: (Boolean)
  • complexity_limit: (Integer)
  • depth_limit: (Integer)


70
# File 'sig/types.rbs', line 70

def initialize: (?introspection_enabled: bool, ?complexity_limit: Integer, ?depth_limit: Integer) -> void

Instance Attribute Details

#complexity_limitInteger?

Returns the value of attribute complexity_limit.

Returns:

  • (Integer, nil)


67
68
69
# File 'sig/types.rbs', line 67

def complexity_limit
  @complexity_limit
end

#depth_limitInteger?

Returns the value of attribute depth_limit.

Returns:

  • (Integer, nil)


68
69
70
# File 'sig/types.rbs', line 68

def depth_limit
  @depth_limit
end

#introspection_enabledBoolean?

Returns the value of attribute introspection_enabled.

Returns:

  • (Boolean, nil)


66
67
68
# File 'sig/types.rbs', line 66

def introspection_enabled
  @introspection_enabled
end

Class Method Details

.defaultFullSchemaConfig

Returns:



71
# File 'sig/types.rbs', line 71

def self.default: () -> FullSchemaConfig