Class: Stratagem::Instrumentation::Models::ValidatorDefinition

Inherits:
Struct
  • Object
show all
Defined in:
lib/stratagem/instrumentation/models/annotations.rb

Instance Attribute Summary collapse

Instance Attribute Details

#argsObject

Returns the value of attribute args

Returns:

  • (Object)

    the current value of args



3
4
5
# File 'lib/stratagem/instrumentation/models/annotations.rb', line 3

def args
  @args
end

#fieldObject

Returns the value of attribute field

Returns:

  • (Object)

    the current value of field



3
4
5
# File 'lib/stratagem/instrumentation/models/annotations.rb', line 3

def field
  @field
end

#model_classObject

Returns the value of attribute model_class

Returns:

  • (Object)

    the current value of model_class



3
4
5
# File 'lib/stratagem/instrumentation/models/annotations.rb', line 3

def model_class
  @model_class
end

#validationObject

Returns the value of attribute validation

Returns:

  • (Object)

    the current value of validation



3
4
5
# File 'lib/stratagem/instrumentation/models/annotations.rb', line 3

def validation
  @validation
end