Class: Lurker::Json::Reference

Inherits:
Schema
  • Object
show all
Defined in:
lib/lurker/json/schema/reference.rb

Constant Summary

Constants inherited from Schema

Schema::EXTENSIONS, Schema::REQUEST_PARAMETERS, Schema::RESPONSE_CODES, Schema::RESPONSE_PARAMETERS

Instance Attribute Summary collapse

Attributes inherited from Schema

#parent_property, #parent_schema, #root_schema, #uri

Instance Method Summary collapse

Methods inherited from Schema

#documentation, #documentation_uri, #initialize, #merge!, #method_missing, #reorder!, #replace!, #respond_to_missing?, #root?, #to_hash, #to_json, #to_yaml

Methods included from Concerns::Validatable

#to_validation_schema, #validate

Constructor Details

This class inherits a constructor from Lurker::Json::Schema

Dynamic Method Handling

This class handles dynamic methods through the method_missing method in the class Lurker::Json::Schema

Instance Attribute Details

#original_uriObject (readonly)

Returns the value of attribute original_uri.



4
5
6
# File 'lib/lurker/json/schema/reference.rb', line 4

def original_uri
  @original_uri
end

Instance Method Details

#to_original_hash(options = {}) ⇒ Object



8
9
10
# File 'lib/lurker/json/schema/reference.rb', line 8

def to_original_hash(options = {})
  @original_schema.to_hash
end