Class: JsonSchema::Schema::Link

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

Overview

Link subobject for a hyperschema.

Instance Attribute Summary collapse

Instance Attribute Details

#descriptionObject

schema attributes



318
319
320
# File 'lib/json_schema/schema.rb', line 318

def description
  @description
end

#enc_typeObject



328
329
330
# File 'lib/json_schema/schema.rb', line 328

def enc_type
  @enc_type || "application/json"
end

#hrefObject

Returns the value of attribute href.



320
321
322
# File 'lib/json_schema/schema.rb', line 320

def href
  @href
end

#media_typeObject



332
333
334
# File 'lib/json_schema/schema.rb', line 332

def media_type
  @media_type || "application/json"
end

#methodObject

Returns the value of attribute method.



322
323
324
# File 'lib/json_schema/schema.rb', line 322

def method
  @method
end

#parentObject

Returns the value of attribute parent.



315
316
317
# File 'lib/json_schema/schema.rb', line 315

def parent
  @parent
end

#relObject

Returns the value of attribute rel.



323
324
325
# File 'lib/json_schema/schema.rb', line 323

def rel
  @rel
end

#schemaObject

Returns the value of attribute schema.



324
325
326
# File 'lib/json_schema/schema.rb', line 324

def schema
  @schema
end

#target_schemaObject

Returns the value of attribute target_schema.



325
326
327
# File 'lib/json_schema/schema.rb', line 325

def target_schema
  @target_schema
end

#titleObject

Returns the value of attribute title.



326
327
328
# File 'lib/json_schema/schema.rb', line 326

def title
  @title
end