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
288 289 290 |
# File 'lib/json_schema/schema.rb', line 288 def description @description end |
#enc_type ⇒ Object
298 299 300 |
# File 'lib/json_schema/schema.rb', line 298 def enc_type @enc_type || "application/json" end |
#href ⇒ Object
Returns the value of attribute href.
290 291 292 |
# File 'lib/json_schema/schema.rb', line 290 def href @href end |
#media_type ⇒ Object
302 303 304 |
# File 'lib/json_schema/schema.rb', line 302 def media_type @media_type || "application/json" end |
#method ⇒ Object
Returns the value of attribute method.
292 293 294 |
# File 'lib/json_schema/schema.rb', line 292 def method @method end |
#parent ⇒ Object
Returns the value of attribute parent.
285 286 287 |
# File 'lib/json_schema/schema.rb', line 285 def parent @parent end |
#rel ⇒ Object
Returns the value of attribute rel.
293 294 295 |
# File 'lib/json_schema/schema.rb', line 293 def rel @rel end |
#schema ⇒ Object
Returns the value of attribute schema.
294 295 296 |
# File 'lib/json_schema/schema.rb', line 294 def schema @schema end |
#target_schema ⇒ Object
Returns the value of attribute target_schema.
295 296 297 |
# File 'lib/json_schema/schema.rb', line 295 def target_schema @target_schema end |
#title ⇒ Object
Returns the value of attribute title.
296 297 298 |
# File 'lib/json_schema/schema.rb', line 296 def title @title end |