class Schemacop::V3::IntegerNode

Public Instance Methods

allowed_types() click to toggle source
# File lib/schemacop/v3/integer_node.rb, line 8
def allowed_types
  { Integer => :integer }
end
as_json() click to toggle source
# File lib/schemacop/v3/integer_node.rb, line 4
def as_json
  process_json(ATTRIBUTES, type: :integer)
end