Class: Yori::Schema::V3::License
- Inherits:
-
Yori::SchemaBase
- Object
- Hash
- Yori::SchemaBase
- Yori::Schema::V3::License
- Defined in:
- lib/yori/schema/v3/license.rb
Overview
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.
Instance Attribute Summary
Attributes inherited from Yori::SchemaBase
Instance Method Summary collapse
Methods inherited from Yori::SchemaBase
eval_class!, eval_hash!, eval_input!, #ref, #validator
Instance Method Details
#validate! ⇒ Object
12 13 14 |
# File 'lib/yori/schema/v3/license.rb', line 12 def validate! validate_require_fields!('name') end |