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.



290
291
292
# File 'lib/json_schema/schema.rb', line 290

def binary_encoding
  @binary_encoding
end

#typeObject

Returns the value of attribute type.



291
292
293
# File 'lib/json_schema/schema.rb', line 291

def type
  @type
end