mirror of
https://github.com/ditkrg/schemable.git
synced 2026-01-22 22:26:41 +00:00
11 lines
303 B
Plaintext
11 lines
303 B
Plaintext
module Schemable
|
|
class RequestSchemaGenerator
|
|
attr_reader model_definition: Definition
|
|
attr_reader schema_modifier: SchemaModifier
|
|
|
|
def initialize: (Definition) -> void
|
|
def generate_for_create: () -> (Hash[Symbol, any])
|
|
def generate_for_update: () -> (Hash[Symbol, any])
|
|
end
|
|
end
|