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.



301
302
303
# File 'lib/json_schema/schema.rb', line 301

def binary_encoding
  @binary_encoding
end

#typeObject

Returns the value of attribute type.



302
303
304
# File 'lib/json_schema/schema.rb', line 302

def type
  @type
end