Module: Bigid

Defined in:
lib/bigid_bgcheck.rb,
lib/bigid/bgcheck/result.rb,
lib/bigid/bgcheck/request.rb,
lib/bigid/bgcheck/version.rb,
lib/bigid/bgcheck/doc_type.rb,
lib/bigid/bgcheck/base_error.rb,
lib/bigid/bgcheck/result_code.rb,
lib/bigid/bgcheck/server_error.rb,
lib/bigid/bgcheck/no_info_error.rb,
lib/bigid/bgcheck/internal_error.rb,
lib/bigid/bgcheck/bad_request_error.rb,
lib/bigid/bgcheck/invalid_credentials_error.rb,
lib/bigid/bgcheck/document_not_supported_error.rb,
lib/bigid/bgcheck/invalid_document_value_error.rb

Defined Under Namespace

Modules: Bgcheck Classes: Configuration

Class Attribute Summary collapse

Class Method Summary collapse

Class Attribute Details

.configurationObject



32
33
34
# File 'lib/bigid_bgcheck.rb', line 32

def configuration
  @configuration ||= Configuration.new
end

Class Method Details

.configure {|configuration| ... } ⇒ Object

Yields:



37
38
39
40
41
# File 'lib/bigid_bgcheck.rb', line 37

def self.configure
  self.configuration ||= Configuration.new

  yield(configuration)
end