Class: Html2rss::Config::Schema::Builder
- Inherits:
-
Object
- Object
- Html2rss::Config::Schema::Builder
- Defined in:
- lib/html2rss/config/schema.rb
Overview
Orchestrates schema assembly from runtime validator contracts plus client-facing overlays.
Class Method Summary collapse
-
.call ⇒ Hash{String => Object}
Fully assembled JSON schema hash.
Instance Method Summary collapse
-
#call ⇒ Hash{String => Object}
Fully assembled JSON schema hash.
Class Method Details
.call ⇒ Hash{String => Object}
Returns fully assembled JSON schema hash.
54 55 56 |
# File 'lib/html2rss/config/schema.rb', line 54 def call new.call end |
Instance Method Details
#call ⇒ Hash{String => Object}
Returns fully assembled JSON schema hash.
60 61 62 63 64 65 |
# File 'lib/html2rss/config/schema.rb', line 60 def call schema = validator_schema apply_top_level(schema) assign_properties(schema.fetch(:properties)) DeepStringifier.call(schema) end |