class Yori::Schema::V3::MediaType
MediaType: Each Media Type Object provides schema and examples for the media type identified by its key.
Public Instance Methods
example_any(value)
click to toggle source
@!method example_any
Example of the media type. The example object SHOULD be in the correct format as specified by the media type. The example object is mutually exclusive of the examples object. Furthermore, if referencing a schema which contains an example, the example value SHALL override the example provided by the schema.
# File lib/yori/schema/v3/media_type.rb, line 20 def example_any(value) self['example'] = value end