mirror of
https://github.com/ditkrg/schemable.git
synced 2026-01-22 22:26:41 +00:00
33 lines
1.4 KiB
Plaintext
33 lines
1.4 KiB
Plaintext
module Schemable
|
|
class Definition
|
|
attr_reader configuration: Configuration
|
|
attr_writer relationships: Hash[Symbol, any]
|
|
attr_writer additional_create_request_attributes: Hash[Symbol, any]
|
|
attr_writer additional_update_request_attributes: Hash[Symbol, any]
|
|
|
|
def model: -> Class
|
|
def initialize: -> void
|
|
def serializer: -> Class?
|
|
def model_name: -> String
|
|
def attributes: -> Array[Symbol]
|
|
def array_types: -> Hash[Symbol, any]
|
|
def relationships: -> Hash[Symbol, any]
|
|
def nullable_attributes: -> Array[Symbol]
|
|
def serialized_instance: -> Hash[Symbol, any]
|
|
def self.generate: -> Array[Hash[Symbol, any]]
|
|
def excluded_response_included: -> Array[Symbol]
|
|
def excluded_response_relations: -> Array[Symbol]
|
|
def excluded_response_attributes: -> Array[Symbol]
|
|
def additional_response_included: -> Hash[Symbol, any]
|
|
def additional_response_relations: -> Hash[Symbol, any]
|
|
def additional_response_attributes: -> Hash[Symbol, any]
|
|
def excluded_create_request_attributes: -> Array[Symbol]
|
|
def excluded_update_request_attributes: -> Array[Symbol]
|
|
def optional_create_request_attributes: -> Array[Symbol]
|
|
def optional_update_request_attributes: -> Array[Symbol]
|
|
def additional_create_request_attributes: -> Hash[Symbol, any]
|
|
def additional_update_request_attributes: -> Hash[Symbol, any]
|
|
def camelize_keys: (Hash[Symbol, any]) -> (Array[Hash[Symbol, any]] | Hash[Symbol, any])
|
|
end
|
|
end
|