Class: JsonSchema::Schema::Media

Inherits:
Object
  • Object
show all
Defined in:
lib/json_schema/schema.rb

Overview

Media type subobject for a hyperschema.

Instance Attribute Summary collapse

Instance Attribute Details

#binary_encodingObject

Returns the value of attribute binary_encoding.



339
340
341
# File 'lib/json_schema/schema.rb', line 339

def binary_encoding
  @binary_encoding
end

#typeObject

Returns the value of attribute type.



340
341
342
# File 'lib/json_schema/schema.rb', line 340

def type
  @type
end