Method: Jdoc::Link#request_properties
- Defined in:
- lib/jdoc/link.rb
#request_properties ⇒ Array<Jdoc::Property>
Returns Properties defined in this link’s schema property.
134 135 136 137 138 139 140 141 142 143 144 |
# File 'lib/jdoc/link.rb', line 134 def request_properties @request_properties ||= begin if request_schema request_schema.properties.map do |name, schema| Property.new(name: name, schema: schema) end else [] end end end |