Class: Anchor::SchemaGenerator
- Inherits:
-
Object
- Object
- Anchor::SchemaGenerator
show all
- Defined in:
- lib/anchor/schema_generator.rb
Class Method Summary
collapse
Instance Method Summary
collapse
Constructor Details
#initialize(register:, context:, include_all_fields:, exclude_fields:) ⇒ SchemaGenerator
3
4
5
6
7
8
|
# File 'lib/anchor/schema_generator.rb', line 3
def initialize(register:, context:, include_all_fields:, exclude_fields:)
@register = register
@context = context
@include_all_fields = include_all_fields
@exclude_fields = exclude_fields
end
|
Class Method Details
.call ⇒ Object
10
11
12
|
# File 'lib/anchor/schema_generator.rb', line 10
def self.call(...)
new(...).call
end
|
Instance Method Details
#call ⇒ Object
14
15
16
|
# File 'lib/anchor/schema_generator.rb', line 14
def call
raise NotImplementedError
end
|