Module: Sumsub
- Includes:
- Types
- Defined in:
- lib/sumsub.rb,
lib/sumsub/types.rb,
lib/sumsub/parser.rb,
lib/sumsub/request.rb,
lib/sumsub/version.rb,
lib/sumsub/struct/info.rb,
lib/sumsub/configuration.rb,
lib/sumsub/message_signer.rb,
lib/sumsub/struct/address.rb,
lib/sumsub/webhook_sender.rb,
lib/sumsub/struct/applicant.rb,
lib/sumsub/struct/base_struct.rb,
lib/sumsub/struct/review_result.rb,
lib/sumsub/struct/error_response.rb,
lib/sumsub/struct/webhook_payload.rb,
lib/sumsub/struct/applicant_update.rb,
lib/sumsub/struct/document_metadata.rb
Defined Under Namespace
Modules: Struct, Types Classes: Configuration, MessageSigner, Parser, Request, WebhookSender
Constant Summary collapse
- VERSION =
"0.2.1"
Constants included from Types
Types::IdDocSubTypes, Types::IdDocTypes, Types::RejectLabels, Types::ReviewAnswers, Types::ReviewRejectTypes, Types::WebhookTypes
Class Attribute Summary collapse
-
.configuration ⇒ Object
Returns the value of attribute configuration.
Class Method Summary collapse
Class Attribute Details
.configuration ⇒ Object
Returns the value of attribute configuration.
35 36 37 |
# File 'lib/sumsub.rb', line 35 def configuration @configuration end |
Class Method Details
.configure {|configuration| ... } ⇒ Object
46 47 48 |
# File 'lib/sumsub.rb', line 46 def self.configure yield(configuration) end |
.error_response?(response) ⇒ Boolean
50 51 52 |
# File 'lib/sumsub.rb', line 50 def self.error_response?(response) response.class == Sumsub::Struct::ErrorResponse end |
.reset ⇒ Object
42 43 44 |
# File 'lib/sumsub.rb', line 42 def self.reset @configuration = Configuration.new end |