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



288
289
290
# File 'lib/json_schema/schema.rb', line 288

def description
  @description
end

#enc_typeObject



298
299
300
# File 'lib/json_schema/schema.rb', line 298

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

#hrefObject

Returns the value of attribute href.



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

def href
  @href
end

#media_typeObject



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

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

#methodObject

Returns the value of attribute method.



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

def method
  @method
end

#parentObject

Returns the value of attribute parent.



285
286
287
# File 'lib/json_schema/schema.rb', line 285

def parent
  @parent
end

#relObject

Returns the value of attribute rel.



293
294
295
# File 'lib/json_schema/schema.rb', line 293

def rel
  @rel
end

#schemaObject

Returns the value of attribute schema.



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

def schema
  @schema
end

#target_schemaObject

Returns the value of attribute target_schema.



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

def target_schema
  @target_schema
end

#titleObject

Returns the value of attribute title.



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

def title
  @title
end