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



273
274
275
# File 'lib/json_schema/schema.rb', line 273

def description
  @description
end

#hrefObject

Returns the value of attribute href.



274
275
276
# File 'lib/json_schema/schema.rb', line 274

def href
  @href
end

#methodObject

Returns the value of attribute method.



275
276
277
# File 'lib/json_schema/schema.rb', line 275

def method
  @method
end

#parentObject

Returns the value of attribute parent.



270
271
272
# File 'lib/json_schema/schema.rb', line 270

def parent
  @parent
end

#relObject

Returns the value of attribute rel.



276
277
278
# File 'lib/json_schema/schema.rb', line 276

def rel
  @rel
end

#schemaObject

Returns the value of attribute schema.



277
278
279
# File 'lib/json_schema/schema.rb', line 277

def schema
  @schema
end

#titleObject

Returns the value of attribute title.



278
279
280
# File 'lib/json_schema/schema.rb', line 278

def title
  @title
end