Module: Scimitar

Defined in:
lib/scimitar.rb,
lib/scimitar/engine.rb,
lib/scimitar/version.rb,
app/models/scimitar/bulk.rb,
app/models/scimitar/meta.rb,
app/models/scimitar/errors.rb,
app/models/scimitar/filter.rb,
app/models/scimitar/schema/ims.rb,
lib/scimitar/support/utilities.rb,
app/models/scimitar/lists/count.rb,
app/models/scimitar/schema/base.rb,
app/models/scimitar/schema/name.rb,
app/models/scimitar/schema/role.rb,
app/models/scimitar/schema/user.rb,
app/models/scimitar/schema/vdtp.rb,
app/models/scimitar/supportable.rb,
app/models/scimitar/filter_error.rb,
app/models/scimitar/schema/email.rb,
app/models/scimitar/schema/group.rb,
app/models/scimitar/schema/photo.rb,
app/models/scimitar/resource_type.rb,
app/models/scimitar/error_response.rb,
app/models/scimitar/resources/base.rb,
app/models/scimitar/resources/user.rb,
app/models/scimitar/schema/address.rb,
app/models/scimitar/not_found_error.rb,
app/models/scimitar/resources/group.rb,
app/models/scimitar/resources/mixin.rb,
app/models/scimitar/schema/attribute.rb,
app/models/scimitar/complex_types/ims.rb,
app/models/scimitar/complex_types/base.rb,
app/models/scimitar/complex_types/name.rb,
app/models/scimitar/complex_types/role.rb,
app/models/scimitar/lists/query_parser.rb,
app/models/scimitar/schema/entitlement.rb,
app/models/scimitar/complex_types/email.rb,
app/models/scimitar/complex_types/photo.rb,
app/models/scimitar/schema/phone_number.rb,
app/models/scimitar/authentication_error.rb,
app/models/scimitar/engine_configuration.rb,
app/models/scimitar/invalid_syntax_error.rb,
app/models/scimitar/authentication_scheme.rb,
app/models/scimitar/complex_types/address.rb,
app/models/scimitar/resource_invalid_error.rb,
app/models/scimitar/schema/reference_group.rb,
app/controllers/scimitar/schemas_controller.rb,
app/models/scimitar/schema/reference_member.rb,
app/models/scimitar/schema/x509_certificate.rb,
app/controllers/scimitar/resources_controller.rb,
app/models/scimitar/complex_types/entitlement.rb,
app/models/scimitar/schema/derived_attributes.rb,
app/models/scimitar/complex_types/phone_number.rb,
app/controllers/scimitar/application_controller.rb,
app/models/scimitar/complex_types/reference_group.rb,
app/controllers/scimitar/resource_types_controller.rb,
app/models/scimitar/complex_types/reference_member.rb,
app/models/scimitar/complex_types/x509_certificate.rb,
app/models/scimitar/service_provider_configuration.rb,
app/controllers/scimitar/active_record_backed_resources_controller.rb,
lib/scimitar/support/hash_with_indifferent_case_insensitive_access.rb,
app/controllers/scimitar/service_provider_configurations_controller.rb

Defined Under Namespace

Modules: ComplexTypes, Errors, Lists, Resources, Schema, Support Classes: ActiveRecordBackedResourcesController, ApplicationController, AuthenticationError, AuthenticationScheme, Bulk, Engine, EngineConfiguration, ErrorResponse, Filter, FilterError, InvalidSyntaxError, Meta, NotFoundError, ResourceInvalidError, ResourceType, ResourceTypesController, ResourcesController, SchemasController, ServiceProviderConfiguration, ServiceProviderConfigurationsController, Supportable

Constant Summary collapse

VERSION =

Gem version. If this changes, be sure to re-run “bundle install” or “bundle update”.

'1.0.0'
DATE =

Date for VERSION. If this changes, be sure to re-run “bundle install” or “bundle update”.

'2024-04-23'

Class Method Summary collapse

Class Method Details

.engine_configurationObject



25
26
27
28
# File 'lib/scimitar.rb', line 25

def self.engine_configuration
  @engine_configuration ||= EngineConfiguration.new
  @engine_configuration
end

.engine_configuration=(custom_configuration) ⇒ Object



19
20
21
22
23
# File 'lib/scimitar.rb', line 19

def self.engine_configuration=(custom_configuration)
  if @engine_configuration.nil? || ! custom_configuration.uses_defaults
    @engine_configuration = custom_configuration
  end
end

.service_provider_configuration(location:) ⇒ Object



13
14
15
16
17
# File 'lib/scimitar.rb', line 13

def self.service_provider_configuration(location:)
  @service_provider_configuration ||= ServiceProviderConfiguration.new
  @service_provider_configuration.meta.location = location
  @service_provider_configuration
end

.service_provider_configuration=(custom_configuration) ⇒ Object



7
8
9
10
11
# File 'lib/scimitar.rb', line 7

def self.service_provider_configuration=(custom_configuration)
  if @service_provider_configuration.nil? || ! custom_configuration.uses_defaults
    @service_provider_configuration = custom_configuration
  end
end