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



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

def description
  @description
end

#hrefObject

Returns the value of attribute href.



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

def href
  @href
end

#methodObject

Returns the value of attribute method.



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

def method
  @method
end

#parentObject

Returns the value of attribute parent.



282
283
284
# File 'lib/json_schema/schema.rb', line 282

def parent
  @parent
end

#relObject

Returns the value of attribute rel.



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

def rel
  @rel
end

#schemaObject

Returns the value of attribute schema.



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

def schema
  @schema
end

#titleObject

Returns the value of attribute title.



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

def title
  @title
end