Class: JsonSchema::Schema::Link
- Inherits:
-
Object
- Object
- JsonSchema::Schema::Link
- Defined in:
- lib/json_schema/schema.rb
Overview
Link subobject for a hyperschema.
Instance Attribute Summary collapse
-
#description ⇒ Object
schema attributes.
- #enc_type ⇒ Object
-
#href ⇒ Object
Returns the value of attribute href.
- #media_type ⇒ Object
-
#method ⇒ Object
Returns the value of attribute method.
-
#parent ⇒ Object
Returns the value of attribute parent.
-
#rel ⇒ Object
Returns the value of attribute rel.
-
#schema ⇒ Object
Returns the value of attribute schema.
-
#target_schema ⇒ Object
Returns the value of attribute target_schema.
-
#title ⇒ Object
Returns the value of attribute title.
Instance Attribute Details
#description ⇒ Object
schema attributes
318 319 320 |
# File 'lib/json_schema/schema.rb', line 318 def description @description end |
#enc_type ⇒ Object
328 329 330 |
# File 'lib/json_schema/schema.rb', line 328 def enc_type @enc_type || "application/json" end |
#href ⇒ Object
Returns the value of attribute href.
320 321 322 |
# File 'lib/json_schema/schema.rb', line 320 def href @href end |
#media_type ⇒ Object
332 333 334 |
# File 'lib/json_schema/schema.rb', line 332 def media_type @media_type || "application/json" end |
#method ⇒ Object
Returns the value of attribute method.
322 323 324 |
# File 'lib/json_schema/schema.rb', line 322 def method @method end |
#parent ⇒ Object
Returns the value of attribute parent.
315 316 317 |
# File 'lib/json_schema/schema.rb', line 315 def parent @parent end |
#rel ⇒ Object
Returns the value of attribute rel.
323 324 325 |
# File 'lib/json_schema/schema.rb', line 323 def rel @rel end |
#schema ⇒ Object
Returns the value of attribute schema.
324 325 326 |
# File 'lib/json_schema/schema.rb', line 324 def schema @schema end |
#target_schema ⇒ Object
Returns the value of attribute target_schema.
325 326 327 |
# File 'lib/json_schema/schema.rb', line 325 def target_schema @target_schema end |
#title ⇒ Object
Returns the value of attribute title.
326 327 328 |
# File 'lib/json_schema/schema.rb', line 326 def title @title end |