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.



295
296
297
# File 'lib/json_schema/schema.rb', line 295

def binary_encoding
  @binary_encoding
end

#typeObject

Returns the value of attribute type.



296
297
298
# File 'lib/json_schema/schema.rb', line 296

def type
  @type
end