Class: Fluent::Json::Schema::Terms::Fk

Inherits:
Field
  • Object
show all
Defined in:
lib/fluent/json/schema/terms/fk.rb

Instance Attribute Summary

Attributes inherited from Field

#constraints, #default, #enum, #name, #required, #version

Instance Method Summary collapse

Methods inherited from Field

#initialize, #mandate, #optionalise, #set

Constructor Details

This class inherits a constructor from Fluent::Json::Schema::Terms::Field

Instance Method Details

#as_jsonObject



6
7
8
# File 'lib/fluent/json/schema/terms/fk.rb', line 6

def as_json
  super({ type: :int })
end