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.



311
312
313
# File 'lib/json_schema/schema.rb', line 311

def binary_encoding
  @binary_encoding
end

#typeObject

Returns the value of attribute type.



312
313
314
# File 'lib/json_schema/schema.rb', line 312

def type
  @type
end