class Ecko::Plugins::Sponsor::SchemaValidator::Base

Attributes

schema[RW]

Public Class Methods

new(schema) click to toggle source
# File lib/ecko/plugins/sponsor/schema_validator.rb, line 14
def initialize(schema)
  @schema = schema
end
validate(schema) click to toggle source
# File lib/ecko/plugins/sponsor/schema_validator.rb, line 19
def validate(schema)
  new(schema).validate
end