Sha256: 665834b4297e6b771bce65a03c93d83f4f17481b7d36f12ef4adf4ec7b6cff77

Contents?: true

Size: 1.45 KB

Versions: 1

Compression:

Stored size: 1.45 KB

Contents

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

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
schemable-1.0.0 sig/schemable/definition.rbs