Sha256: 5754a244005d65bd4008a1abf09499bd2ea6570d58b6ac288291d599ff89ee8a
Contents?: true
Size: 448 Bytes
Versions: 3
Compression:
Stored size: 448 Bytes
Contents
# frozen_string_literal: true module Yori module Schema module V3 # 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. class License < Yori::SchemaBase fields :name, :url def validate! validate_require_fields!('name') end end end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
yori-0.1.2 | lib/yori/schema/v3/license.rb |
yori-0.1.1 | lib/yori/schema/v3/license.rb |
yori-0.1.0 | lib/yori/schema/v3/license.rb |