Sha256: cbe04bee3209dc1e01b1479d3be0b7a9ad7f9cfa2771ecc4ea1451f7949d922d

Contents?: true

Size: 490 Bytes

Versions: 1

Compression:

Stored size: 490 Bytes

Contents

module Schemable
  class ResponseSchemaGenerator
    attr_reader model: Class
    attr_reader model_definition: Definition
    attr_reader schema_modifier: SchemaModifier
    attr_reader configuration: Configuration

    def initialize: (Definition) -> void
    def meta: -> Hash[Symbol, any]
    def jsonapi: -> Hash[Symbol, any]
    def generate: (expand: bool, relationships_to_exclude_from_expansion: Array[Symbol], collection: bool, expand_nested: bool) -> Hash[Symbol, any]
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
schemable-1.0.3 sig/schemable/response_schema_generator.rbs