Module: Stitches

Defined in:
lib/stitches/error.rb,
lib/stitches/errors.rb,
lib/stitches/api_key.rb,
lib/stitches/railtie.rb,
lib/stitches/version.rb,
lib/stitches_norailtie.rb,
lib/stitches/deprecation.rb,
lib/stitches/api_generator.rb,
lib/stitches/configuration.rb,
lib/stitches/valid_mime_type.rb,
lib/stitches/allowlist_middleware.rb,
lib/stitches/api_version_constraint.rb,
lib/stitches/api_migration_generator.rb,
lib/stitches/add_deprecation_generator.rb,
lib/stitches/add_enabled_to_api_clients_generator.rb,
lib/stitches/add_disabled_at_to_api_clients_generator.rb

Defined Under Namespace

Modules: ApiClientAccessWrapper, Deprecation Classes: AddDeprecationGenerator, AddDisabledAtToApiClientsGenerator, AddEnabledToApiClientsGenerator, AllowlistMiddleware, ApiGenerator, ApiKey, ApiMigrationGenerator, ApiVersionConstraint, Configuration, Error, Errors, Railtie, ValidMimeType

Constant Summary collapse

VERSION =
'5.0.0'

Class Method Summary collapse

Class Method Details

.configurationObject



6
7
8
# File 'lib/stitches_norailtie.rb', line 6

def self.configuration
  @configuration ||= Configuration.new
end

.configure(&block) ⇒ Object



2
3
4
# File 'lib/stitches_norailtie.rb', line 2

def self.configure(&block)
  block.(configuration)
end