class Yori::Schema::V3::License

License: License information for the exposed API. @name: REQUIRED. The license name used for the API. @url: A URL to the license used for the API. MUST be in the format of a URL.

Public Instance Methods

validate!() click to toggle source
# File lib/yori/schema/v3/license.rb, line 12
def validate!
  validate_require_fields!('name')
end