cybrid_api_organization_ruby 0.37.41 → 0.37.43

Sign up to get free protection for your applications and to get access to all the features.
Files changed (127) hide show
  1. checksums.yaml +4 -4
  2. data/Gemfile.lock +3 -3
  3. data/README.md +5 -5
  4. data/cybrid_api_organization_ruby.gemspec +1 -1
  5. data/lib/cybrid_api_organization_ruby/api/organizations_organization_api.rb +1 -1
  6. data/lib/cybrid_api_organization_ruby/api_client.rb +1 -1
  7. data/lib/cybrid_api_organization_ruby/api_error.rb +1 -1
  8. data/lib/cybrid_api_organization_ruby/configuration.rb +1 -1
  9. data/lib/cybrid_api_organization_ruby/models/error_response_organization_model.rb +1 -1
  10. data/lib/cybrid_api_organization_ruby/models/organization_organization_model.rb +1 -1
  11. data/lib/cybrid_api_organization_ruby/models/patch_organization_organization_model.rb +1 -1
  12. data/lib/cybrid_api_organization_ruby/version.rb +2 -2
  13. data/lib/cybrid_api_organization_ruby.rb +1 -1
  14. data/spec/api/organizations_organization_api_spec.rb +1 -1
  15. data/spec/api_client_spec.rb +1 -1
  16. data/spec/configuration_spec.rb +1 -1
  17. data/spec/models/error_response_organization_model_spec.rb +1 -1
  18. data/spec/models/organization_organization_model_spec.rb +1 -1
  19. data/spec/models/patch_organization_organization_model_spec.rb +1 -1
  20. data/spec/spec_helper.rb +1 -1
  21. data/vendor/bundle/ruby/3.1.0/cache/rspec-expectations-3.11.1.gem +0 -0
  22. data/vendor/bundle/ruby/3.1.0/cache/rspec-support-3.11.1.gem +0 -0
  23. data/vendor/bundle/ruby/3.1.0/extensions/x86_64-linux/3.1.0-static/byebug-11.1.3/gem_make.out +2 -2
  24. data/vendor/bundle/ruby/3.1.0/extensions/x86_64-linux/3.1.0-static/ffi-1.15.5/gem_make.out +2 -2
  25. data/vendor/bundle/ruby/3.1.0/extensions/x86_64-linux/3.1.0-static/jaro_winkler-1.5.4/gem_make.out +2 -2
  26. data/vendor/bundle/ruby/3.1.0/extensions/x86_64-linux/3.1.0-static/psych-4.0.5/gem_make.out +2 -2
  27. data/vendor/bundle/ruby/3.1.0/extensions/x86_64-linux/3.1.0-static/stringio-3.0.2/gem_make.out +2 -2
  28. data/vendor/bundle/ruby/3.1.0/gems/byebug-11.1.3/ext/byebug/Makefile +2 -2
  29. data/vendor/bundle/ruby/3.1.0/gems/ffi-1.15.5/ext/ffi_c/Makefile +2 -2
  30. data/vendor/bundle/ruby/3.1.0/gems/jaro_winkler-1.5.4/ext/jaro_winkler/Makefile +2 -2
  31. data/vendor/bundle/ruby/3.1.0/gems/psych-4.0.5/ext/psych/Makefile +2 -2
  32. data/vendor/bundle/ruby/3.1.0/gems/{rspec-expectations-3.11.0 → rspec-expectations-3.11.1}/.document +0 -0
  33. data/vendor/bundle/ruby/3.1.0/gems/{rspec-expectations-3.11.0 → rspec-expectations-3.11.1}/.yardopts +0 -0
  34. data/vendor/bundle/ruby/3.1.0/gems/{rspec-expectations-3.11.0 → rspec-expectations-3.11.1}/Changelog.md +11 -1
  35. data/vendor/bundle/ruby/3.1.0/gems/{rspec-expectations-3.11.0 → rspec-expectations-3.11.1}/LICENSE.md +0 -0
  36. data/vendor/bundle/ruby/3.1.0/gems/{rspec-expectations-3.11.0 → rspec-expectations-3.11.1}/README.md +0 -0
  37. data/vendor/bundle/ruby/3.1.0/gems/{rspec-expectations-3.11.0 → rspec-expectations-3.11.1}/lib/rspec/expectations/block_snippet_extractor.rb +0 -0
  38. data/vendor/bundle/ruby/3.1.0/gems/{rspec-expectations-3.11.0 → rspec-expectations-3.11.1}/lib/rspec/expectations/configuration.rb +0 -0
  39. data/vendor/bundle/ruby/3.1.0/gems/{rspec-expectations-3.11.0 → rspec-expectations-3.11.1}/lib/rspec/expectations/expectation_target.rb +0 -0
  40. data/vendor/bundle/ruby/3.1.0/gems/{rspec-expectations-3.11.0 → rspec-expectations-3.11.1}/lib/rspec/expectations/fail_with.rb +0 -0
  41. data/vendor/bundle/ruby/3.1.0/gems/{rspec-expectations-3.11.0 → rspec-expectations-3.11.1}/lib/rspec/expectations/failure_aggregator.rb +0 -0
  42. data/vendor/bundle/ruby/3.1.0/gems/{rspec-expectations-3.11.0 → rspec-expectations-3.11.1}/lib/rspec/expectations/handler.rb +0 -0
  43. data/vendor/bundle/ruby/3.1.0/gems/{rspec-expectations-3.11.0 → rspec-expectations-3.11.1}/lib/rspec/expectations/minitest_integration.rb +0 -0
  44. data/vendor/bundle/ruby/3.1.0/gems/{rspec-expectations-3.11.0 → rspec-expectations-3.11.1}/lib/rspec/expectations/syntax.rb +0 -0
  45. data/vendor/bundle/ruby/3.1.0/gems/{rspec-expectations-3.11.0 → rspec-expectations-3.11.1}/lib/rspec/expectations/version.rb +1 -1
  46. data/vendor/bundle/ruby/3.1.0/gems/{rspec-expectations-3.11.0 → rspec-expectations-3.11.1}/lib/rspec/expectations.rb +0 -0
  47. data/vendor/bundle/ruby/3.1.0/gems/{rspec-expectations-3.11.0 → rspec-expectations-3.11.1}/lib/rspec/matchers/aliased_matcher.rb +0 -0
  48. data/vendor/bundle/ruby/3.1.0/gems/{rspec-expectations-3.11.0 → rspec-expectations-3.11.1}/lib/rspec/matchers/built_in/all.rb +0 -0
  49. data/vendor/bundle/ruby/3.1.0/gems/{rspec-expectations-3.11.0 → rspec-expectations-3.11.1}/lib/rspec/matchers/built_in/base_matcher.rb +0 -0
  50. data/vendor/bundle/ruby/3.1.0/gems/{rspec-expectations-3.11.0 → rspec-expectations-3.11.1}/lib/rspec/matchers/built_in/be.rb +0 -0
  51. data/vendor/bundle/ruby/3.1.0/gems/{rspec-expectations-3.11.0 → rspec-expectations-3.11.1}/lib/rspec/matchers/built_in/be_between.rb +0 -0
  52. data/vendor/bundle/ruby/3.1.0/gems/{rspec-expectations-3.11.0 → rspec-expectations-3.11.1}/lib/rspec/matchers/built_in/be_instance_of.rb +0 -0
  53. data/vendor/bundle/ruby/3.1.0/gems/{rspec-expectations-3.11.0 → rspec-expectations-3.11.1}/lib/rspec/matchers/built_in/be_kind_of.rb +0 -0
  54. data/vendor/bundle/ruby/3.1.0/gems/{rspec-expectations-3.11.0 → rspec-expectations-3.11.1}/lib/rspec/matchers/built_in/be_within.rb +0 -0
  55. data/vendor/bundle/ruby/3.1.0/gems/{rspec-expectations-3.11.0 → rspec-expectations-3.11.1}/lib/rspec/matchers/built_in/change.rb +0 -0
  56. data/vendor/bundle/ruby/3.1.0/gems/{rspec-expectations-3.11.0 → rspec-expectations-3.11.1}/lib/rspec/matchers/built_in/compound.rb +0 -0
  57. data/vendor/bundle/ruby/3.1.0/gems/{rspec-expectations-3.11.0 → rspec-expectations-3.11.1}/lib/rspec/matchers/built_in/contain_exactly.rb +10 -2
  58. data/vendor/bundle/ruby/3.1.0/gems/{rspec-expectations-3.11.0 → rspec-expectations-3.11.1}/lib/rspec/matchers/built_in/count_expectation.rb +1 -1
  59. data/vendor/bundle/ruby/3.1.0/gems/{rspec-expectations-3.11.0 → rspec-expectations-3.11.1}/lib/rspec/matchers/built_in/cover.rb +0 -0
  60. data/vendor/bundle/ruby/3.1.0/gems/{rspec-expectations-3.11.0 → rspec-expectations-3.11.1}/lib/rspec/matchers/built_in/eq.rb +0 -0
  61. data/vendor/bundle/ruby/3.1.0/gems/{rspec-expectations-3.11.0 → rspec-expectations-3.11.1}/lib/rspec/matchers/built_in/eql.rb +0 -0
  62. data/vendor/bundle/ruby/3.1.0/gems/{rspec-expectations-3.11.0 → rspec-expectations-3.11.1}/lib/rspec/matchers/built_in/equal.rb +0 -0
  63. data/vendor/bundle/ruby/3.1.0/gems/{rspec-expectations-3.11.0 → rspec-expectations-3.11.1}/lib/rspec/matchers/built_in/exist.rb +1 -1
  64. data/vendor/bundle/ruby/3.1.0/gems/{rspec-expectations-3.11.0 → rspec-expectations-3.11.1}/lib/rspec/matchers/built_in/has.rb +0 -0
  65. data/vendor/bundle/ruby/3.1.0/gems/{rspec-expectations-3.11.0 → rspec-expectations-3.11.1}/lib/rspec/matchers/built_in/have_attributes.rb +0 -0
  66. data/vendor/bundle/ruby/3.1.0/gems/{rspec-expectations-3.11.0 → rspec-expectations-3.11.1}/lib/rspec/matchers/built_in/include.rb +0 -0
  67. data/vendor/bundle/ruby/3.1.0/gems/{rspec-expectations-3.11.0 → rspec-expectations-3.11.1}/lib/rspec/matchers/built_in/match.rb +0 -0
  68. data/vendor/bundle/ruby/3.1.0/gems/{rspec-expectations-3.11.0 → rspec-expectations-3.11.1}/lib/rspec/matchers/built_in/operators.rb +0 -0
  69. data/vendor/bundle/ruby/3.1.0/gems/{rspec-expectations-3.11.0 → rspec-expectations-3.11.1}/lib/rspec/matchers/built_in/output.rb +0 -0
  70. data/vendor/bundle/ruby/3.1.0/gems/{rspec-expectations-3.11.0 → rspec-expectations-3.11.1}/lib/rspec/matchers/built_in/raise_error.rb +6 -6
  71. data/vendor/bundle/ruby/3.1.0/gems/{rspec-expectations-3.11.0 → rspec-expectations-3.11.1}/lib/rspec/matchers/built_in/respond_to.rb +0 -0
  72. data/vendor/bundle/ruby/3.1.0/gems/{rspec-expectations-3.11.0 → rspec-expectations-3.11.1}/lib/rspec/matchers/built_in/satisfy.rb +0 -0
  73. data/vendor/bundle/ruby/3.1.0/gems/{rspec-expectations-3.11.0 → rspec-expectations-3.11.1}/lib/rspec/matchers/built_in/start_or_end_with.rb +0 -0
  74. data/vendor/bundle/ruby/3.1.0/gems/{rspec-expectations-3.11.0 → rspec-expectations-3.11.1}/lib/rspec/matchers/built_in/throw_symbol.rb +4 -4
  75. data/vendor/bundle/ruby/3.1.0/gems/{rspec-expectations-3.11.0 → rspec-expectations-3.11.1}/lib/rspec/matchers/built_in/yield.rb +0 -0
  76. data/vendor/bundle/ruby/3.1.0/gems/{rspec-expectations-3.11.0 → rspec-expectations-3.11.1}/lib/rspec/matchers/built_in.rb +0 -0
  77. data/vendor/bundle/ruby/3.1.0/gems/{rspec-expectations-3.11.0 → rspec-expectations-3.11.1}/lib/rspec/matchers/composable.rb +0 -0
  78. data/vendor/bundle/ruby/3.1.0/gems/{rspec-expectations-3.11.0 → rspec-expectations-3.11.1}/lib/rspec/matchers/dsl.rb +2 -2
  79. data/vendor/bundle/ruby/3.1.0/gems/{rspec-expectations-3.11.0 → rspec-expectations-3.11.1}/lib/rspec/matchers/english_phrasing.rb +0 -0
  80. data/vendor/bundle/ruby/3.1.0/gems/{rspec-expectations-3.11.0 → rspec-expectations-3.11.1}/lib/rspec/matchers/expecteds_for_multiple_diffs.rb +0 -0
  81. data/vendor/bundle/ruby/3.1.0/gems/{rspec-expectations-3.11.0 → rspec-expectations-3.11.1}/lib/rspec/matchers/fail_matchers.rb +0 -0
  82. data/vendor/bundle/ruby/3.1.0/gems/{rspec-expectations-3.11.0 → rspec-expectations-3.11.1}/lib/rspec/matchers/generated_descriptions.rb +0 -0
  83. data/vendor/bundle/ruby/3.1.0/gems/{rspec-expectations-3.11.0 → rspec-expectations-3.11.1}/lib/rspec/matchers/matcher_delegator.rb +0 -0
  84. data/vendor/bundle/ruby/3.1.0/gems/{rspec-expectations-3.11.0 → rspec-expectations-3.11.1}/lib/rspec/matchers/matcher_protocol.rb +0 -0
  85. data/vendor/bundle/ruby/3.1.0/gems/{rspec-expectations-3.11.0 → rspec-expectations-3.11.1}/lib/rspec/matchers.rb +3 -3
  86. data/vendor/bundle/ruby/3.1.0/gems/{rspec-support-3.11.0 → rspec-support-3.11.1}/Changelog.md +8 -1
  87. data/vendor/bundle/ruby/3.1.0/gems/{rspec-support-3.11.0 → rspec-support-3.11.1}/LICENSE.md +0 -0
  88. data/vendor/bundle/ruby/3.1.0/gems/{rspec-support-3.11.0 → rspec-support-3.11.1}/README.md +0 -0
  89. data/vendor/bundle/ruby/3.1.0/gems/{rspec-support-3.11.0 → rspec-support-3.11.1}/lib/rspec/support/caller_filter.rb +2 -2
  90. data/vendor/bundle/ruby/3.1.0/gems/{rspec-support-3.11.0 → rspec-support-3.11.1}/lib/rspec/support/comparable_version.rb +1 -1
  91. data/vendor/bundle/ruby/3.1.0/gems/{rspec-support-3.11.0 → rspec-support-3.11.1}/lib/rspec/support/differ.rb +4 -4
  92. data/vendor/bundle/ruby/3.1.0/gems/{rspec-support-3.11.0 → rspec-support-3.11.1}/lib/rspec/support/directory_maker.rb +0 -0
  93. data/vendor/bundle/ruby/3.1.0/gems/{rspec-support-3.11.0 → rspec-support-3.11.1}/lib/rspec/support/encoded_string.rb +3 -3
  94. data/vendor/bundle/ruby/3.1.0/gems/{rspec-support-3.11.0 → rspec-support-3.11.1}/lib/rspec/support/fuzzy_matcher.rb +0 -0
  95. data/vendor/bundle/ruby/3.1.0/gems/{rspec-support-3.11.0 → rspec-support-3.11.1}/lib/rspec/support/hunk_generator.rb +0 -0
  96. data/vendor/bundle/ruby/3.1.0/gems/{rspec-support-3.11.0 → rspec-support-3.11.1}/lib/rspec/support/matcher_definition.rb +0 -0
  97. data/vendor/bundle/ruby/3.1.0/gems/{rspec-support-3.11.0 → rspec-support-3.11.1}/lib/rspec/support/method_signature_verifier.rb +2 -2
  98. data/vendor/bundle/ruby/3.1.0/gems/{rspec-support-3.11.0 → rspec-support-3.11.1}/lib/rspec/support/mutex.rb +1 -1
  99. data/vendor/bundle/ruby/3.1.0/gems/{rspec-support-3.11.0 → rspec-support-3.11.1}/lib/rspec/support/object_formatter.rb +0 -0
  100. data/vendor/bundle/ruby/3.1.0/gems/{rspec-support-3.11.0 → rspec-support-3.11.1}/lib/rspec/support/recursive_const_methods.rb +0 -0
  101. data/vendor/bundle/ruby/3.1.0/gems/{rspec-support-3.11.0 → rspec-support-3.11.1}/lib/rspec/support/reentrant_mutex.rb +0 -0
  102. data/vendor/bundle/ruby/3.1.0/gems/{rspec-support-3.11.0 → rspec-support-3.11.1}/lib/rspec/support/ruby_features.rb +3 -0
  103. data/vendor/bundle/ruby/3.1.0/gems/{rspec-support-3.11.0 → rspec-support-3.11.1}/lib/rspec/support/source/location.rb +0 -0
  104. data/vendor/bundle/ruby/3.1.0/gems/{rspec-support-3.11.0 → rspec-support-3.11.1}/lib/rspec/support/source/node.rb +0 -0
  105. data/vendor/bundle/ruby/3.1.0/gems/{rspec-support-3.11.0 → rspec-support-3.11.1}/lib/rspec/support/source/token.rb +0 -0
  106. data/vendor/bundle/ruby/3.1.0/gems/{rspec-support-3.11.0 → rspec-support-3.11.1}/lib/rspec/support/source.rb +0 -0
  107. data/vendor/bundle/ruby/3.1.0/gems/{rspec-support-3.11.0 → rspec-support-3.11.1}/lib/rspec/support/spec/deprecation_helpers.rb +0 -0
  108. data/vendor/bundle/ruby/3.1.0/gems/{rspec-support-3.11.0 → rspec-support-3.11.1}/lib/rspec/support/spec/diff_helpers.rb +0 -0
  109. data/vendor/bundle/ruby/3.1.0/gems/{rspec-support-3.11.0 → rspec-support-3.11.1}/lib/rspec/support/spec/formatting_support.rb +0 -0
  110. data/vendor/bundle/ruby/3.1.0/gems/{rspec-support-3.11.0 → rspec-support-3.11.1}/lib/rspec/support/spec/in_sub_process.rb +1 -1
  111. data/vendor/bundle/ruby/3.1.0/gems/{rspec-support-3.11.0 → rspec-support-3.11.1}/lib/rspec/support/spec/library_wide_checks.rb +0 -0
  112. data/vendor/bundle/ruby/3.1.0/gems/{rspec-support-3.11.0 → rspec-support-3.11.1}/lib/rspec/support/spec/shell_out.rb +0 -0
  113. data/vendor/bundle/ruby/3.1.0/gems/{rspec-support-3.11.0 → rspec-support-3.11.1}/lib/rspec/support/spec/stderr_splitter.rb +1 -1
  114. data/vendor/bundle/ruby/3.1.0/gems/{rspec-support-3.11.0 → rspec-support-3.11.1}/lib/rspec/support/spec/string_matcher.rb +0 -0
  115. data/vendor/bundle/ruby/3.1.0/gems/{rspec-support-3.11.0 → rspec-support-3.11.1}/lib/rspec/support/spec/with_isolated_directory.rb +0 -0
  116. data/vendor/bundle/ruby/3.1.0/gems/{rspec-support-3.11.0 → rspec-support-3.11.1}/lib/rspec/support/spec/with_isolated_stderr.rb +0 -0
  117. data/vendor/bundle/ruby/3.1.0/gems/{rspec-support-3.11.0 → rspec-support-3.11.1}/lib/rspec/support/spec.rb +0 -0
  118. data/vendor/bundle/ruby/3.1.0/gems/{rspec-support-3.11.0 → rspec-support-3.11.1}/lib/rspec/support/version.rb +1 -1
  119. data/vendor/bundle/ruby/3.1.0/gems/{rspec-support-3.11.0 → rspec-support-3.11.1}/lib/rspec/support/warnings.rb +0 -0
  120. data/vendor/bundle/ruby/3.1.0/gems/{rspec-support-3.11.0 → rspec-support-3.11.1}/lib/rspec/support/with_keywords_when_needed.rb +1 -1
  121. data/vendor/bundle/ruby/3.1.0/gems/{rspec-support-3.11.0 → rspec-support-3.11.1}/lib/rspec/support.rb +0 -0
  122. data/vendor/bundle/ruby/3.1.0/gems/stringio-3.0.2/ext/stringio/Makefile +2 -2
  123. data/vendor/bundle/ruby/3.1.0/specifications/{rspec-expectations-3.11.0.gemspec → rspec-expectations-3.11.1.gemspec} +5 -5
  124. data/vendor/bundle/ruby/3.1.0/specifications/{rspec-support-3.11.0.gemspec → rspec-support-3.11.1.gemspec} +5 -5
  125. metadata +96 -96
  126. data/vendor/bundle/ruby/3.1.0/cache/rspec-expectations-3.11.0.gem +0 -0
  127. data/vendor/bundle/ruby/3.1.0/cache/rspec-support-3.11.0.gem +0 -0
@@ -3,7 +3,7 @@
3
3
 
4
4
  ## Cybrid API documentation Welcome to Cybrid, an all-in-one crypto platform that enables you to easily **build** and **launch** white-lable crypto products or services. In these documents, you'll find details on how our REST API operates and generally how our platform functions. If you're looking for our UI SDK Widgets for Web or Mobile (iOS/Android), generated API clients, or demo applications, head over to our [Github repo](https://github.com/Cybrid-app). 💡 We recommend bookmarking the [Cybrid LinkTree](https://linktr.ee/cybridtechnologies) which contains many helpful links to platform resources. ## Getting Started This is Cybrid's public interactive API documentation, which allows you to fully test our API's. If you'd like to use a different tool to exercise our API's, you can download the [Open API 3.0 yaml](https://bank.demo.cybrid.app/api/schema/v1/swagger.yaml) for import. If you're new to our API's and the Cybrid Platform, follow the below guides to get set up and familiar with the platform: 1. [Getting Started in the Cybrid Sandbox](https://www.cybrid.xyz/guides/getting-started) 2. [Getting Ready for Trading](https://www.cybrid.xyz/guides/getting-ready-for-trading) 3. [Running the Web Demo App](https://www.cybrid.xyz/guides/running-the-cybrid-web-demo-crypto-app) (or, alternatively, [Testing with Hosted Web Demo App](https://www.cybrid.xyz/guides/testing-with-the-web-demo-crypo-app)) In [Getting Started in the Cybrid Sandbox](https://www.cybrid.xyz/guides/getting-started), we walk you through how to use the [Cybrid Sandbox](https://id.demo.cybrid.app/) to create a test bank, generate API keys, and set banks fees. In [Getting Ready for Trading](https://www.cybrid.xyz/guides/getting-ready-for-trading), we walk through creating customers, customer identities, accounts, as well as executing quotes and trades. If you've already run through the first two guides, you can follow the [Running the Web Demo App](https://www.cybrid.xyz/guides/running-the-cybrid-web-demo-crypto-app) guide to test our web SDK with your sandbox `bank` and `customer`. ## Working with the Cybrid Platform There are three primary ways you can interact with the Cybrid platform: 1. Directly via our RESTful API (this documentation) 2. Using our API Clients available in a variety of languages ([Angular](https://github.com/Cybrid-app/cybrid-api-bank-angular), [Java](https://github.com/Cybrid-app/cybrid-api-bank-java), [Kotlin](https://github.com/Cybrid-app/cybrid-api-bank-kotlin), [Python](https://github.com/Cybrid-app/cybrid-api-bank-python), [Ruby](https://github.com/Cybrid-app/cybrid-api-bank-ruby), [Swift](https://github.com/Cybrid-app/cybrid-api-bank-swift) or [Typescript](https://github.com/Cybrid-app/cybrid-api-bank-typescript)) 3. Integrating a platform specific SDK ([Web](https://github.com/Cybrid-app/cybrid-sdk-web), [Android](https://github.com/Cybrid-app/cybrid-sdk-android), Apple-coming soon) Our complete set of APIs allows you to manage resources across three distinct areas: your `Organization`, your `Banks` and your `Identities`. For most of your testing and interaction you'll be using the `Bank` API, which is where the majority of API's reside. *The complete set of APIs can be found on the following pages:* | API | Description | |----------------------------------------------------------------|------------------------------| | [Organization API](https://organization.demo.cybrid.app/api/schema/swagger-ui) | APIs to manage organizations | | [Bank API](https://bank.demo.cybrid.app/api/schema/swagger-ui) | APIs to manage banks (and all downstream customer activity) | | [Identities API](https://id.demo.cybrid.app/api/schema/swagger-ui) | APIs to manage organization and bank identities | For questions please contact [Support](mailto:support@cybrid.xyz) at any time for assistance, or contact the [Product Team](mailto:product@cybrid.xyz) for product suggestions. ## Authenticating with the API The Cybrid Platform uses OAuth 2.0 Bearer Tokens to authenticate requests to the platform. Credentials to create `Organization` and `Bank` tokens can be generated via the [Cybrid Sandbox](https://id.demo.cybrid.app). An `Organization` Token applies broadly to the whole Organization and all of its `Banks`, whereas, a `Bank` Token is specific to an individual Bank. Both `Organization` and `Bank` tokens can be created using the OAuth Client Credential Grant flow. Each Organization and Bank has its own unique `Client ID` and `Secret` that allows for machine-to-machine authentication. <font color=\"orange\">**⚠️ Never share your Client ID or Secret publicly or in your source code repository.**</font> Your `Client ID` and `Secret` can be exchanged for a time-limited `Bearer Token` by interacting with the Cybrid Identity Provider or through interacting with the **Authorize** button in this document. The following curl command can be used to quickly generate a `bearer token` for use in testing the API or demo applications. ``` curl -X POST https://id.demo.cybrid.app/oauth/token -d '{ \"grant_type\": \"client_credentials\", \"client_id\": \"<Your Client ID>\", \"client_secret\": \"<Your Secret>\", \"scope\": \"banks:read banks:write accounts:read accounts:execute customers:read customers:write customers:execute prices:read quotes:execute trades:execute trades:read\" }' -H \"Content-Type: application/json\" ``` <font color=\"orange\">**⚠️ Note: The above curl will create a bearer token with full scope access. Delete scopes if you'd like to restrict access.**</font> ## Authentication Scopes The Cybrid platform supports the use of scopes to control the level of access a token is limited to. Scopes do not grant access to resources; instead, they provide limits, in support of the least privilege principal. The following scopes are available on the platform and can be requested when generating either an Organization or a Bank token. Generally speaking, the _Read_ scope is required to read and list resources, the _Write_ scope is required to update a resource and the _Execute_ scope is required to create a resource. | Resource | Read scope | Write scope | Execute scope | Token Type | |---------------|--------------------|----------------------|-------------------|--------------------| | Organizations | organizations:read | organizations:write | | Organization/ Bank | | Banks | banks:read | banks:write | banks:execute | Organization/ Bank | | Customers | customers:read | customers:write | customers:execute | Bank | | Assets | prices:read | | | Bank | | Accounts | accounts:read | | accounts:execute | Bank | | Prices | prices:read | | | Bank | | Symbols | prices:read | | | Bank | | Quotes | quotes:read | | quotes:execute | Bank | | Trades | trades:read | | trades:execute | Bank | | Rewards | rewards:read | | rewards:execute | Bank | ## Available Endpoints The available API's for the [Identity](https://id.demo.cybrid.app/api/schema/swagger-ui), [Organization](https://organization.demo.cybrid.app/api/schema/swagger-ui) and [Bank](https://bank.demo.cybrid.app/api/schema/swagger-ui) API services are listed below: | API Sevice | Model | API Endpoint Path | Description | | ------------ | ---------------- | ------------------------------ | ------------------------------------------------------------------------- | | Identity | Bank | /api/bank_applications | Create and list banks | | Identity | Organization | /api/organization_applications | Create and list organizations | | Organization | Organization | /api/organizations | API's to retrieve and update organization name | | Bank | Asset | /api/assets | Get a list of assets supported by the platform (ex: BTC, ETH) | | Bank | VerificationKey | /api/bank_verification_keys | Create, list and retrive verification keys, used for signing identities | | Bank | Banks | /api/banks | Create, update and list banks, the parent to customers, accounts, etc | | Bank | FeeConfiguration | /api/fee_configurations | Create and list bank fees (spread or fixed) | | Bank | Customers | /api/customers | Create and list customers | | Bank | IdentityRecord | /api/identity_records | Create and list identity records, which are attached to customers for KYC | | Bank | Accounts | /api/accounts | Create and list accounts, which hold a specific asset for a customers | | Bank | Symbols | /api/symbols | Get a list of symbols supported for trade (ex: BTC-USD) | | Bank | Prices | /api/prices | Get the current prices for assets on the platform | | Bank | Quotes | /api/quotes | Create and list quotes, which are required to execute trades | | Bank | Trades | /api/trades | Create and list trades, which buy or sell cryptocurrency | | Bank | Rewards | /api/rewards | Create a new reward (automates quote/trade for simplicity) | ## Understanding Object Models & Endpoints **Organizations** An `Organization` is meant to represent the organization partnering with Cybrid to use our platform. An `Organization` does not directly interact with `customers`. Instead, an Organization has one or more `banks`, which encompass the financial service offerings of the platform. **Banks** A `Bank` is owned by an `Organization` and can be thought of as an environment or container for `Customers` and product offerings. Banks are created in either `Sandbox` or `Production` mode, where Sandbox is the environment that you would test, prototype and build in prior to production. An `Organization` can have multiple `banks`, in either sandbox or production environments. A sandbox Bank will be backed by stubbed data and process flows. For instance, funding source processes will be simulated rather than performed, however asset prices are representative of real-world values. You have an unlimited amout of simulated fiat currency for testing purposes. ## Customers `Customers` represent your banking users on the platform. At present, we offer support for `Individuals` as Customers. `Customers` must be verified in our system before they can play any part on the platform, which means they must have an associated and valid `Identity Record`. See the Identity Records section for more details on how a customer can be verified. `Customers` must also have an `account` to be able to transact, in the desired asset class. See the Accounts APIs for more details on setting up accounts for the customer.
5
5
 
6
- The version of the OpenAPI document: v0.37.41
6
+ The version of the OpenAPI document: v0.37.43
7
7
  Contact: support@cybrid.app
8
8
  Generated by: https://openapi-generator.tech
9
9
  OpenAPI Generator version: 6.0.0
@@ -3,7 +3,7 @@
3
3
 
4
4
  ## Cybrid API documentation Welcome to Cybrid, an all-in-one crypto platform that enables you to easily **build** and **launch** white-lable crypto products or services. In these documents, you'll find details on how our REST API operates and generally how our platform functions. If you're looking for our UI SDK Widgets for Web or Mobile (iOS/Android), generated API clients, or demo applications, head over to our [Github repo](https://github.com/Cybrid-app). 💡 We recommend bookmarking the [Cybrid LinkTree](https://linktr.ee/cybridtechnologies) which contains many helpful links to platform resources. ## Getting Started This is Cybrid's public interactive API documentation, which allows you to fully test our API's. If you'd like to use a different tool to exercise our API's, you can download the [Open API 3.0 yaml](https://bank.demo.cybrid.app/api/schema/v1/swagger.yaml) for import. If you're new to our API's and the Cybrid Platform, follow the below guides to get set up and familiar with the platform: 1. [Getting Started in the Cybrid Sandbox](https://www.cybrid.xyz/guides/getting-started) 2. [Getting Ready for Trading](https://www.cybrid.xyz/guides/getting-ready-for-trading) 3. [Running the Web Demo App](https://www.cybrid.xyz/guides/running-the-cybrid-web-demo-crypto-app) (or, alternatively, [Testing with Hosted Web Demo App](https://www.cybrid.xyz/guides/testing-with-the-web-demo-crypo-app)) In [Getting Started in the Cybrid Sandbox](https://www.cybrid.xyz/guides/getting-started), we walk you through how to use the [Cybrid Sandbox](https://id.demo.cybrid.app/) to create a test bank, generate API keys, and set banks fees. In [Getting Ready for Trading](https://www.cybrid.xyz/guides/getting-ready-for-trading), we walk through creating customers, customer identities, accounts, as well as executing quotes and trades. If you've already run through the first two guides, you can follow the [Running the Web Demo App](https://www.cybrid.xyz/guides/running-the-cybrid-web-demo-crypto-app) guide to test our web SDK with your sandbox `bank` and `customer`. ## Working with the Cybrid Platform There are three primary ways you can interact with the Cybrid platform: 1. Directly via our RESTful API (this documentation) 2. Using our API Clients available in a variety of languages ([Angular](https://github.com/Cybrid-app/cybrid-api-bank-angular), [Java](https://github.com/Cybrid-app/cybrid-api-bank-java), [Kotlin](https://github.com/Cybrid-app/cybrid-api-bank-kotlin), [Python](https://github.com/Cybrid-app/cybrid-api-bank-python), [Ruby](https://github.com/Cybrid-app/cybrid-api-bank-ruby), [Swift](https://github.com/Cybrid-app/cybrid-api-bank-swift) or [Typescript](https://github.com/Cybrid-app/cybrid-api-bank-typescript)) 3. Integrating a platform specific SDK ([Web](https://github.com/Cybrid-app/cybrid-sdk-web), [Android](https://github.com/Cybrid-app/cybrid-sdk-android), Apple-coming soon) Our complete set of APIs allows you to manage resources across three distinct areas: your `Organization`, your `Banks` and your `Identities`. For most of your testing and interaction you'll be using the `Bank` API, which is where the majority of API's reside. *The complete set of APIs can be found on the following pages:* | API | Description | |----------------------------------------------------------------|------------------------------| | [Organization API](https://organization.demo.cybrid.app/api/schema/swagger-ui) | APIs to manage organizations | | [Bank API](https://bank.demo.cybrid.app/api/schema/swagger-ui) | APIs to manage banks (and all downstream customer activity) | | [Identities API](https://id.demo.cybrid.app/api/schema/swagger-ui) | APIs to manage organization and bank identities | For questions please contact [Support](mailto:support@cybrid.xyz) at any time for assistance, or contact the [Product Team](mailto:product@cybrid.xyz) for product suggestions. ## Authenticating with the API The Cybrid Platform uses OAuth 2.0 Bearer Tokens to authenticate requests to the platform. Credentials to create `Organization` and `Bank` tokens can be generated via the [Cybrid Sandbox](https://id.demo.cybrid.app). An `Organization` Token applies broadly to the whole Organization and all of its `Banks`, whereas, a `Bank` Token is specific to an individual Bank. Both `Organization` and `Bank` tokens can be created using the OAuth Client Credential Grant flow. Each Organization and Bank has its own unique `Client ID` and `Secret` that allows for machine-to-machine authentication. <font color=\"orange\">**⚠️ Never share your Client ID or Secret publicly or in your source code repository.**</font> Your `Client ID` and `Secret` can be exchanged for a time-limited `Bearer Token` by interacting with the Cybrid Identity Provider or through interacting with the **Authorize** button in this document. The following curl command can be used to quickly generate a `bearer token` for use in testing the API or demo applications. ``` curl -X POST https://id.demo.cybrid.app/oauth/token -d '{ \"grant_type\": \"client_credentials\", \"client_id\": \"<Your Client ID>\", \"client_secret\": \"<Your Secret>\", \"scope\": \"banks:read banks:write accounts:read accounts:execute customers:read customers:write customers:execute prices:read quotes:execute trades:execute trades:read\" }' -H \"Content-Type: application/json\" ``` <font color=\"orange\">**⚠️ Note: The above curl will create a bearer token with full scope access. Delete scopes if you'd like to restrict access.**</font> ## Authentication Scopes The Cybrid platform supports the use of scopes to control the level of access a token is limited to. Scopes do not grant access to resources; instead, they provide limits, in support of the least privilege principal. The following scopes are available on the platform and can be requested when generating either an Organization or a Bank token. Generally speaking, the _Read_ scope is required to read and list resources, the _Write_ scope is required to update a resource and the _Execute_ scope is required to create a resource. | Resource | Read scope | Write scope | Execute scope | Token Type | |---------------|--------------------|----------------------|-------------------|--------------------| | Organizations | organizations:read | organizations:write | | Organization/ Bank | | Banks | banks:read | banks:write | banks:execute | Organization/ Bank | | Customers | customers:read | customers:write | customers:execute | Bank | | Assets | prices:read | | | Bank | | Accounts | accounts:read | | accounts:execute | Bank | | Prices | prices:read | | | Bank | | Symbols | prices:read | | | Bank | | Quotes | quotes:read | | quotes:execute | Bank | | Trades | trades:read | | trades:execute | Bank | | Rewards | rewards:read | | rewards:execute | Bank | ## Available Endpoints The available API's for the [Identity](https://id.demo.cybrid.app/api/schema/swagger-ui), [Organization](https://organization.demo.cybrid.app/api/schema/swagger-ui) and [Bank](https://bank.demo.cybrid.app/api/schema/swagger-ui) API services are listed below: | API Sevice | Model | API Endpoint Path | Description | | ------------ | ---------------- | ------------------------------ | ------------------------------------------------------------------------- | | Identity | Bank | /api/bank_applications | Create and list banks | | Identity | Organization | /api/organization_applications | Create and list organizations | | Organization | Organization | /api/organizations | API's to retrieve and update organization name | | Bank | Asset | /api/assets | Get a list of assets supported by the platform (ex: BTC, ETH) | | Bank | VerificationKey | /api/bank_verification_keys | Create, list and retrive verification keys, used for signing identities | | Bank | Banks | /api/banks | Create, update and list banks, the parent to customers, accounts, etc | | Bank | FeeConfiguration | /api/fee_configurations | Create and list bank fees (spread or fixed) | | Bank | Customers | /api/customers | Create and list customers | | Bank | IdentityRecord | /api/identity_records | Create and list identity records, which are attached to customers for KYC | | Bank | Accounts | /api/accounts | Create and list accounts, which hold a specific asset for a customers | | Bank | Symbols | /api/symbols | Get a list of symbols supported for trade (ex: BTC-USD) | | Bank | Prices | /api/prices | Get the current prices for assets on the platform | | Bank | Quotes | /api/quotes | Create and list quotes, which are required to execute trades | | Bank | Trades | /api/trades | Create and list trades, which buy or sell cryptocurrency | | Bank | Rewards | /api/rewards | Create a new reward (automates quote/trade for simplicity) | ## Understanding Object Models & Endpoints **Organizations** An `Organization` is meant to represent the organization partnering with Cybrid to use our platform. An `Organization` does not directly interact with `customers`. Instead, an Organization has one or more `banks`, which encompass the financial service offerings of the platform. **Banks** A `Bank` is owned by an `Organization` and can be thought of as an environment or container for `Customers` and product offerings. Banks are created in either `Sandbox` or `Production` mode, where Sandbox is the environment that you would test, prototype and build in prior to production. An `Organization` can have multiple `banks`, in either sandbox or production environments. A sandbox Bank will be backed by stubbed data and process flows. For instance, funding source processes will be simulated rather than performed, however asset prices are representative of real-world values. You have an unlimited amout of simulated fiat currency for testing purposes. ## Customers `Customers` represent your banking users on the platform. At present, we offer support for `Individuals` as Customers. `Customers` must be verified in our system before they can play any part on the platform, which means they must have an associated and valid `Identity Record`. See the Identity Records section for more details on how a customer can be verified. `Customers` must also have an `account` to be able to transact, in the desired asset class. See the Accounts APIs for more details on setting up accounts for the customer.
5
5
 
6
- The version of the OpenAPI document: v0.37.41
6
+ The version of the OpenAPI document: v0.37.43
7
7
  Contact: support@cybrid.app
8
8
  Generated by: https://openapi-generator.tech
9
9
  OpenAPI Generator version: 6.0.0
@@ -3,7 +3,7 @@
3
3
 
4
4
  ## Cybrid API documentation Welcome to Cybrid, an all-in-one crypto platform that enables you to easily **build** and **launch** white-lable crypto products or services. In these documents, you'll find details on how our REST API operates and generally how our platform functions. If you're looking for our UI SDK Widgets for Web or Mobile (iOS/Android), generated API clients, or demo applications, head over to our [Github repo](https://github.com/Cybrid-app). 💡 We recommend bookmarking the [Cybrid LinkTree](https://linktr.ee/cybridtechnologies) which contains many helpful links to platform resources. ## Getting Started This is Cybrid's public interactive API documentation, which allows you to fully test our API's. If you'd like to use a different tool to exercise our API's, you can download the [Open API 3.0 yaml](https://bank.demo.cybrid.app/api/schema/v1/swagger.yaml) for import. If you're new to our API's and the Cybrid Platform, follow the below guides to get set up and familiar with the platform: 1. [Getting Started in the Cybrid Sandbox](https://www.cybrid.xyz/guides/getting-started) 2. [Getting Ready for Trading](https://www.cybrid.xyz/guides/getting-ready-for-trading) 3. [Running the Web Demo App](https://www.cybrid.xyz/guides/running-the-cybrid-web-demo-crypto-app) (or, alternatively, [Testing with Hosted Web Demo App](https://www.cybrid.xyz/guides/testing-with-the-web-demo-crypo-app)) In [Getting Started in the Cybrid Sandbox](https://www.cybrid.xyz/guides/getting-started), we walk you through how to use the [Cybrid Sandbox](https://id.demo.cybrid.app/) to create a test bank, generate API keys, and set banks fees. In [Getting Ready for Trading](https://www.cybrid.xyz/guides/getting-ready-for-trading), we walk through creating customers, customer identities, accounts, as well as executing quotes and trades. If you've already run through the first two guides, you can follow the [Running the Web Demo App](https://www.cybrid.xyz/guides/running-the-cybrid-web-demo-crypto-app) guide to test our web SDK with your sandbox `bank` and `customer`. ## Working with the Cybrid Platform There are three primary ways you can interact with the Cybrid platform: 1. Directly via our RESTful API (this documentation) 2. Using our API Clients available in a variety of languages ([Angular](https://github.com/Cybrid-app/cybrid-api-bank-angular), [Java](https://github.com/Cybrid-app/cybrid-api-bank-java), [Kotlin](https://github.com/Cybrid-app/cybrid-api-bank-kotlin), [Python](https://github.com/Cybrid-app/cybrid-api-bank-python), [Ruby](https://github.com/Cybrid-app/cybrid-api-bank-ruby), [Swift](https://github.com/Cybrid-app/cybrid-api-bank-swift) or [Typescript](https://github.com/Cybrid-app/cybrid-api-bank-typescript)) 3. Integrating a platform specific SDK ([Web](https://github.com/Cybrid-app/cybrid-sdk-web), [Android](https://github.com/Cybrid-app/cybrid-sdk-android), Apple-coming soon) Our complete set of APIs allows you to manage resources across three distinct areas: your `Organization`, your `Banks` and your `Identities`. For most of your testing and interaction you'll be using the `Bank` API, which is where the majority of API's reside. *The complete set of APIs can be found on the following pages:* | API | Description | |----------------------------------------------------------------|------------------------------| | [Organization API](https://organization.demo.cybrid.app/api/schema/swagger-ui) | APIs to manage organizations | | [Bank API](https://bank.demo.cybrid.app/api/schema/swagger-ui) | APIs to manage banks (and all downstream customer activity) | | [Identities API](https://id.demo.cybrid.app/api/schema/swagger-ui) | APIs to manage organization and bank identities | For questions please contact [Support](mailto:support@cybrid.xyz) at any time for assistance, or contact the [Product Team](mailto:product@cybrid.xyz) for product suggestions. ## Authenticating with the API The Cybrid Platform uses OAuth 2.0 Bearer Tokens to authenticate requests to the platform. Credentials to create `Organization` and `Bank` tokens can be generated via the [Cybrid Sandbox](https://id.demo.cybrid.app). An `Organization` Token applies broadly to the whole Organization and all of its `Banks`, whereas, a `Bank` Token is specific to an individual Bank. Both `Organization` and `Bank` tokens can be created using the OAuth Client Credential Grant flow. Each Organization and Bank has its own unique `Client ID` and `Secret` that allows for machine-to-machine authentication. <font color=\"orange\">**⚠️ Never share your Client ID or Secret publicly or in your source code repository.**</font> Your `Client ID` and `Secret` can be exchanged for a time-limited `Bearer Token` by interacting with the Cybrid Identity Provider or through interacting with the **Authorize** button in this document. The following curl command can be used to quickly generate a `bearer token` for use in testing the API or demo applications. ``` curl -X POST https://id.demo.cybrid.app/oauth/token -d '{ \"grant_type\": \"client_credentials\", \"client_id\": \"<Your Client ID>\", \"client_secret\": \"<Your Secret>\", \"scope\": \"banks:read banks:write accounts:read accounts:execute customers:read customers:write customers:execute prices:read quotes:execute trades:execute trades:read\" }' -H \"Content-Type: application/json\" ``` <font color=\"orange\">**⚠️ Note: The above curl will create a bearer token with full scope access. Delete scopes if you'd like to restrict access.**</font> ## Authentication Scopes The Cybrid platform supports the use of scopes to control the level of access a token is limited to. Scopes do not grant access to resources; instead, they provide limits, in support of the least privilege principal. The following scopes are available on the platform and can be requested when generating either an Organization or a Bank token. Generally speaking, the _Read_ scope is required to read and list resources, the _Write_ scope is required to update a resource and the _Execute_ scope is required to create a resource. | Resource | Read scope | Write scope | Execute scope | Token Type | |---------------|--------------------|----------------------|-------------------|--------------------| | Organizations | organizations:read | organizations:write | | Organization/ Bank | | Banks | banks:read | banks:write | banks:execute | Organization/ Bank | | Customers | customers:read | customers:write | customers:execute | Bank | | Assets | prices:read | | | Bank | | Accounts | accounts:read | | accounts:execute | Bank | | Prices | prices:read | | | Bank | | Symbols | prices:read | | | Bank | | Quotes | quotes:read | | quotes:execute | Bank | | Trades | trades:read | | trades:execute | Bank | | Rewards | rewards:read | | rewards:execute | Bank | ## Available Endpoints The available API's for the [Identity](https://id.demo.cybrid.app/api/schema/swagger-ui), [Organization](https://organization.demo.cybrid.app/api/schema/swagger-ui) and [Bank](https://bank.demo.cybrid.app/api/schema/swagger-ui) API services are listed below: | API Sevice | Model | API Endpoint Path | Description | | ------------ | ---------------- | ------------------------------ | ------------------------------------------------------------------------- | | Identity | Bank | /api/bank_applications | Create and list banks | | Identity | Organization | /api/organization_applications | Create and list organizations | | Organization | Organization | /api/organizations | API's to retrieve and update organization name | | Bank | Asset | /api/assets | Get a list of assets supported by the platform (ex: BTC, ETH) | | Bank | VerificationKey | /api/bank_verification_keys | Create, list and retrive verification keys, used for signing identities | | Bank | Banks | /api/banks | Create, update and list banks, the parent to customers, accounts, etc | | Bank | FeeConfiguration | /api/fee_configurations | Create and list bank fees (spread or fixed) | | Bank | Customers | /api/customers | Create and list customers | | Bank | IdentityRecord | /api/identity_records | Create and list identity records, which are attached to customers for KYC | | Bank | Accounts | /api/accounts | Create and list accounts, which hold a specific asset for a customers | | Bank | Symbols | /api/symbols | Get a list of symbols supported for trade (ex: BTC-USD) | | Bank | Prices | /api/prices | Get the current prices for assets on the platform | | Bank | Quotes | /api/quotes | Create and list quotes, which are required to execute trades | | Bank | Trades | /api/trades | Create and list trades, which buy or sell cryptocurrency | | Bank | Rewards | /api/rewards | Create a new reward (automates quote/trade for simplicity) | ## Understanding Object Models & Endpoints **Organizations** An `Organization` is meant to represent the organization partnering with Cybrid to use our platform. An `Organization` does not directly interact with `customers`. Instead, an Organization has one or more `banks`, which encompass the financial service offerings of the platform. **Banks** A `Bank` is owned by an `Organization` and can be thought of as an environment or container for `Customers` and product offerings. Banks are created in either `Sandbox` or `Production` mode, where Sandbox is the environment that you would test, prototype and build in prior to production. An `Organization` can have multiple `banks`, in either sandbox or production environments. A sandbox Bank will be backed by stubbed data and process flows. For instance, funding source processes will be simulated rather than performed, however asset prices are representative of real-world values. You have an unlimited amout of simulated fiat currency for testing purposes. ## Customers `Customers` represent your banking users on the platform. At present, we offer support for `Individuals` as Customers. `Customers` must be verified in our system before they can play any part on the platform, which means they must have an associated and valid `Identity Record`. See the Identity Records section for more details on how a customer can be verified. `Customers` must also have an `account` to be able to transact, in the desired asset class. See the Accounts APIs for more details on setting up accounts for the customer.
5
5
 
6
- The version of the OpenAPI document: v0.37.41
6
+ The version of the OpenAPI document: v0.37.43
7
7
  Contact: support@cybrid.app
8
8
  Generated by: https://openapi-generator.tech
9
9
  OpenAPI Generator version: 6.0.0
data/spec/spec_helper.rb CHANGED
@@ -3,7 +3,7 @@
3
3
 
4
4
  ## Cybrid API documentation Welcome to Cybrid, an all-in-one crypto platform that enables you to easily **build** and **launch** white-lable crypto products or services. In these documents, you'll find details on how our REST API operates and generally how our platform functions. If you're looking for our UI SDK Widgets for Web or Mobile (iOS/Android), generated API clients, or demo applications, head over to our [Github repo](https://github.com/Cybrid-app). 💡 We recommend bookmarking the [Cybrid LinkTree](https://linktr.ee/cybridtechnologies) which contains many helpful links to platform resources. ## Getting Started This is Cybrid's public interactive API documentation, which allows you to fully test our API's. If you'd like to use a different tool to exercise our API's, you can download the [Open API 3.0 yaml](https://bank.demo.cybrid.app/api/schema/v1/swagger.yaml) for import. If you're new to our API's and the Cybrid Platform, follow the below guides to get set up and familiar with the platform: 1. [Getting Started in the Cybrid Sandbox](https://www.cybrid.xyz/guides/getting-started) 2. [Getting Ready for Trading](https://www.cybrid.xyz/guides/getting-ready-for-trading) 3. [Running the Web Demo App](https://www.cybrid.xyz/guides/running-the-cybrid-web-demo-crypto-app) (or, alternatively, [Testing with Hosted Web Demo App](https://www.cybrid.xyz/guides/testing-with-the-web-demo-crypo-app)) In [Getting Started in the Cybrid Sandbox](https://www.cybrid.xyz/guides/getting-started), we walk you through how to use the [Cybrid Sandbox](https://id.demo.cybrid.app/) to create a test bank, generate API keys, and set banks fees. In [Getting Ready for Trading](https://www.cybrid.xyz/guides/getting-ready-for-trading), we walk through creating customers, customer identities, accounts, as well as executing quotes and trades. If you've already run through the first two guides, you can follow the [Running the Web Demo App](https://www.cybrid.xyz/guides/running-the-cybrid-web-demo-crypto-app) guide to test our web SDK with your sandbox `bank` and `customer`. ## Working with the Cybrid Platform There are three primary ways you can interact with the Cybrid platform: 1. Directly via our RESTful API (this documentation) 2. Using our API Clients available in a variety of languages ([Angular](https://github.com/Cybrid-app/cybrid-api-bank-angular), [Java](https://github.com/Cybrid-app/cybrid-api-bank-java), [Kotlin](https://github.com/Cybrid-app/cybrid-api-bank-kotlin), [Python](https://github.com/Cybrid-app/cybrid-api-bank-python), [Ruby](https://github.com/Cybrid-app/cybrid-api-bank-ruby), [Swift](https://github.com/Cybrid-app/cybrid-api-bank-swift) or [Typescript](https://github.com/Cybrid-app/cybrid-api-bank-typescript)) 3. Integrating a platform specific SDK ([Web](https://github.com/Cybrid-app/cybrid-sdk-web), [Android](https://github.com/Cybrid-app/cybrid-sdk-android), Apple-coming soon) Our complete set of APIs allows you to manage resources across three distinct areas: your `Organization`, your `Banks` and your `Identities`. For most of your testing and interaction you'll be using the `Bank` API, which is where the majority of API's reside. *The complete set of APIs can be found on the following pages:* | API | Description | |----------------------------------------------------------------|------------------------------| | [Organization API](https://organization.demo.cybrid.app/api/schema/swagger-ui) | APIs to manage organizations | | [Bank API](https://bank.demo.cybrid.app/api/schema/swagger-ui) | APIs to manage banks (and all downstream customer activity) | | [Identities API](https://id.demo.cybrid.app/api/schema/swagger-ui) | APIs to manage organization and bank identities | For questions please contact [Support](mailto:support@cybrid.xyz) at any time for assistance, or contact the [Product Team](mailto:product@cybrid.xyz) for product suggestions. ## Authenticating with the API The Cybrid Platform uses OAuth 2.0 Bearer Tokens to authenticate requests to the platform. Credentials to create `Organization` and `Bank` tokens can be generated via the [Cybrid Sandbox](https://id.demo.cybrid.app). An `Organization` Token applies broadly to the whole Organization and all of its `Banks`, whereas, a `Bank` Token is specific to an individual Bank. Both `Organization` and `Bank` tokens can be created using the OAuth Client Credential Grant flow. Each Organization and Bank has its own unique `Client ID` and `Secret` that allows for machine-to-machine authentication. <font color=\"orange\">**⚠️ Never share your Client ID or Secret publicly or in your source code repository.**</font> Your `Client ID` and `Secret` can be exchanged for a time-limited `Bearer Token` by interacting with the Cybrid Identity Provider or through interacting with the **Authorize** button in this document. The following curl command can be used to quickly generate a `bearer token` for use in testing the API or demo applications. ``` curl -X POST https://id.demo.cybrid.app/oauth/token -d '{ \"grant_type\": \"client_credentials\", \"client_id\": \"<Your Client ID>\", \"client_secret\": \"<Your Secret>\", \"scope\": \"banks:read banks:write accounts:read accounts:execute customers:read customers:write customers:execute prices:read quotes:execute trades:execute trades:read\" }' -H \"Content-Type: application/json\" ``` <font color=\"orange\">**⚠️ Note: The above curl will create a bearer token with full scope access. Delete scopes if you'd like to restrict access.**</font> ## Authentication Scopes The Cybrid platform supports the use of scopes to control the level of access a token is limited to. Scopes do not grant access to resources; instead, they provide limits, in support of the least privilege principal. The following scopes are available on the platform and can be requested when generating either an Organization or a Bank token. Generally speaking, the _Read_ scope is required to read and list resources, the _Write_ scope is required to update a resource and the _Execute_ scope is required to create a resource. | Resource | Read scope | Write scope | Execute scope | Token Type | |---------------|--------------------|----------------------|-------------------|--------------------| | Organizations | organizations:read | organizations:write | | Organization/ Bank | | Banks | banks:read | banks:write | banks:execute | Organization/ Bank | | Customers | customers:read | customers:write | customers:execute | Bank | | Assets | prices:read | | | Bank | | Accounts | accounts:read | | accounts:execute | Bank | | Prices | prices:read | | | Bank | | Symbols | prices:read | | | Bank | | Quotes | quotes:read | | quotes:execute | Bank | | Trades | trades:read | | trades:execute | Bank | | Rewards | rewards:read | | rewards:execute | Bank | ## Available Endpoints The available API's for the [Identity](https://id.demo.cybrid.app/api/schema/swagger-ui), [Organization](https://organization.demo.cybrid.app/api/schema/swagger-ui) and [Bank](https://bank.demo.cybrid.app/api/schema/swagger-ui) API services are listed below: | API Sevice | Model | API Endpoint Path | Description | | ------------ | ---------------- | ------------------------------ | ------------------------------------------------------------------------- | | Identity | Bank | /api/bank_applications | Create and list banks | | Identity | Organization | /api/organization_applications | Create and list organizations | | Organization | Organization | /api/organizations | API's to retrieve and update organization name | | Bank | Asset | /api/assets | Get a list of assets supported by the platform (ex: BTC, ETH) | | Bank | VerificationKey | /api/bank_verification_keys | Create, list and retrive verification keys, used for signing identities | | Bank | Banks | /api/banks | Create, update and list banks, the parent to customers, accounts, etc | | Bank | FeeConfiguration | /api/fee_configurations | Create and list bank fees (spread or fixed) | | Bank | Customers | /api/customers | Create and list customers | | Bank | IdentityRecord | /api/identity_records | Create and list identity records, which are attached to customers for KYC | | Bank | Accounts | /api/accounts | Create and list accounts, which hold a specific asset for a customers | | Bank | Symbols | /api/symbols | Get a list of symbols supported for trade (ex: BTC-USD) | | Bank | Prices | /api/prices | Get the current prices for assets on the platform | | Bank | Quotes | /api/quotes | Create and list quotes, which are required to execute trades | | Bank | Trades | /api/trades | Create and list trades, which buy or sell cryptocurrency | | Bank | Rewards | /api/rewards | Create a new reward (automates quote/trade for simplicity) | ## Understanding Object Models & Endpoints **Organizations** An `Organization` is meant to represent the organization partnering with Cybrid to use our platform. An `Organization` does not directly interact with `customers`. Instead, an Organization has one or more `banks`, which encompass the financial service offerings of the platform. **Banks** A `Bank` is owned by an `Organization` and can be thought of as an environment or container for `Customers` and product offerings. Banks are created in either `Sandbox` or `Production` mode, where Sandbox is the environment that you would test, prototype and build in prior to production. An `Organization` can have multiple `banks`, in either sandbox or production environments. A sandbox Bank will be backed by stubbed data and process flows. For instance, funding source processes will be simulated rather than performed, however asset prices are representative of real-world values. You have an unlimited amout of simulated fiat currency for testing purposes. ## Customers `Customers` represent your banking users on the platform. At present, we offer support for `Individuals` as Customers. `Customers` must be verified in our system before they can play any part on the platform, which means they must have an associated and valid `Identity Record`. See the Identity Records section for more details on how a customer can be verified. `Customers` must also have an `account` to be able to transact, in the desired asset class. See the Accounts APIs for more details on setting up accounts for the customer.
5
5
 
6
- The version of the OpenAPI document: v0.37.41
6
+ The version of the OpenAPI document: v0.37.43
7
7
  Contact: support@cybrid.app
8
8
  Generated by: https://openapi-generator.tech
9
9
  OpenAPI Generator version: 6.0.0
@@ -1,5 +1,5 @@
1
1
  current directory: /home/circleci/project/api-service-clients/api-platform-organization/ruby/vendor/bundle/ruby/3.1.0/gems/byebug-11.1.3/ext/byebug
2
- /usr/local/bin/ruby -I /usr/local/lib/ruby/site_ruby/3.1.0 -r ./siteconf20220909-3332-94z09u.rb extconf.rb
2
+ /usr/local/bin/ruby -I /usr/local/lib/ruby/site_ruby/3.1.0 -r ./siteconf20220912-3446-q2q52p.rb extconf.rb
3
3
  creating Makefile
4
4
 
5
5
  current directory: /home/circleci/project/api-service-clients/api-platform-organization/ruby/vendor/bundle/ruby/3.1.0/gems/byebug-11.1.3/ext/byebug
@@ -21,5 +21,5 @@ make[1]: Leaving directory '/home/circleci/project/api-service-clients/api-platf
21
21
  current directory: /home/circleci/project/api-service-clients/api-platform-organization/ruby/vendor/bundle/ruby/3.1.0/gems/byebug-11.1.3/ext/byebug
22
22
  make DESTDIR\= install
23
23
  make[1]: Entering directory '/home/circleci/project/api-service-clients/api-platform-organization/ruby/vendor/bundle/ruby/3.1.0/gems/byebug-11.1.3/ext/byebug'
24
- /usr/bin/install -c -m 0755 byebug.so ./.gem.20220909-3332-fv71i0/byebug
24
+ /usr/bin/install -c -m 0755 byebug.so ./.gem.20220912-3446-f9cbn2/byebug
25
25
  make[1]: Leaving directory '/home/circleci/project/api-service-clients/api-platform-organization/ruby/vendor/bundle/ruby/3.1.0/gems/byebug-11.1.3/ext/byebug'
@@ -1,5 +1,5 @@
1
1
  current directory: /home/circleci/project/api-service-clients/api-platform-organization/ruby/vendor/bundle/ruby/3.1.0/gems/ffi-1.15.5/ext/ffi_c
2
- /usr/local/bin/ruby -I /usr/local/lib/ruby/site_ruby/3.1.0 -r ./siteconf20220909-3332-c7xa6l.rb extconf.rb
2
+ /usr/local/bin/ruby -I /usr/local/lib/ruby/site_ruby/3.1.0 -r ./siteconf20220912-3446-gh1l7a.rb extconf.rb
3
3
  checking for ffi_prep_closure_loc() in -lffi... yes
4
4
  checking for ffi_prep_cif_var()... yes
5
5
  checking for ffi_raw_call()... yes
@@ -45,5 +45,5 @@ make[1]: Leaving directory '/home/circleci/project/api-service-clients/api-platf
45
45
  current directory: /home/circleci/project/api-service-clients/api-platform-organization/ruby/vendor/bundle/ruby/3.1.0/gems/ffi-1.15.5/ext/ffi_c
46
46
  make DESTDIR\= install
47
47
  make[1]: Entering directory '/home/circleci/project/api-service-clients/api-platform-organization/ruby/vendor/bundle/ruby/3.1.0/gems/ffi-1.15.5/ext/ffi_c'
48
- /usr/bin/install -c -m 0755 ffi_c.so ./.gem.20220909-3332-9lnkas
48
+ /usr/bin/install -c -m 0755 ffi_c.so ./.gem.20220912-3446-h73lc3
49
49
  make[1]: Leaving directory '/home/circleci/project/api-service-clients/api-platform-organization/ruby/vendor/bundle/ruby/3.1.0/gems/ffi-1.15.5/ext/ffi_c'
@@ -1,5 +1,5 @@
1
1
  current directory: /home/circleci/project/api-service-clients/api-platform-organization/ruby/vendor/bundle/ruby/3.1.0/gems/jaro_winkler-1.5.4/ext/jaro_winkler
2
- /usr/local/bin/ruby -I /usr/local/lib/ruby/site_ruby/3.1.0 -r ./siteconf20220909-3332-8y22t8.rb extconf.rb
2
+ /usr/local/bin/ruby -I /usr/local/lib/ruby/site_ruby/3.1.0 -r ./siteconf20220912-3446-k1ggl4.rb extconf.rb
3
3
  creating Makefile
4
4
 
5
5
  current directory: /home/circleci/project/api-service-clients/api-platform-organization/ruby/vendor/bundle/ruby/3.1.0/gems/jaro_winkler-1.5.4/ext/jaro_winkler
@@ -57,5 +57,5 @@ make[1]: Leaving directory '/home/circleci/project/api-service-clients/api-platf
57
57
  current directory: /home/circleci/project/api-service-clients/api-platform-organization/ruby/vendor/bundle/ruby/3.1.0/gems/jaro_winkler-1.5.4/ext/jaro_winkler
58
58
  make DESTDIR\= install
59
59
  make[1]: Entering directory '/home/circleci/project/api-service-clients/api-platform-organization/ruby/vendor/bundle/ruby/3.1.0/gems/jaro_winkler-1.5.4/ext/jaro_winkler'
60
- /usr/bin/install -c -m 0755 jaro_winkler_ext.so ./.gem.20220909-3332-r4p5x3/jaro_winkler
60
+ /usr/bin/install -c -m 0755 jaro_winkler_ext.so ./.gem.20220912-3446-abeoku/jaro_winkler
61
61
  make[1]: Leaving directory '/home/circleci/project/api-service-clients/api-platform-organization/ruby/vendor/bundle/ruby/3.1.0/gems/jaro_winkler-1.5.4/ext/jaro_winkler'
@@ -1,5 +1,5 @@
1
1
  current directory: /home/circleci/project/api-service-clients/api-platform-organization/ruby/vendor/bundle/ruby/3.1.0/gems/psych-4.0.5/ext/psych
2
- /usr/local/bin/ruby -I /usr/local/lib/ruby/site_ruby/3.1.0 -r ./siteconf20220909-3332-t8n4kh.rb extconf.rb
2
+ /usr/local/bin/ruby -I /usr/local/lib/ruby/site_ruby/3.1.0 -r ./siteconf20220912-3446-y5vbfs.rb extconf.rb
3
3
  checking for yaml.h... yes
4
4
  checking for yaml_get_version() in -lyaml... yes
5
5
  creating Makefile
@@ -23,5 +23,5 @@ make[1]: Leaving directory '/home/circleci/project/api-service-clients/api-platf
23
23
  current directory: /home/circleci/project/api-service-clients/api-platform-organization/ruby/vendor/bundle/ruby/3.1.0/gems/psych-4.0.5/ext/psych
24
24
  make DESTDIR\= install
25
25
  make[1]: Entering directory '/home/circleci/project/api-service-clients/api-platform-organization/ruby/vendor/bundle/ruby/3.1.0/gems/psych-4.0.5/ext/psych'
26
- /usr/bin/install -c -m 0755 psych.so ./.gem.20220909-3332-8ze68z
26
+ /usr/bin/install -c -m 0755 psych.so ./.gem.20220912-3446-zo3pwh
27
27
  make[1]: Leaving directory '/home/circleci/project/api-service-clients/api-platform-organization/ruby/vendor/bundle/ruby/3.1.0/gems/psych-4.0.5/ext/psych'
@@ -1,5 +1,5 @@
1
1
  current directory: /home/circleci/project/api-service-clients/api-platform-organization/ruby/vendor/bundle/ruby/3.1.0/gems/stringio-3.0.2/ext/stringio
2
- /usr/local/bin/ruby -I /usr/local/lib/ruby/site_ruby/3.1.0 -r ./siteconf20220909-3332-lo3v25.rb extconf.rb
2
+ /usr/local/bin/ruby -I /usr/local/lib/ruby/site_ruby/3.1.0 -r ./siteconf20220912-3446-bnyqq1.rb extconf.rb
3
3
  checking for rb_io_extract_modeenc() in ruby/io.h... yes
4
4
  creating Makefile
5
5
 
@@ -18,5 +18,5 @@ make[1]: Leaving directory '/home/circleci/project/api-service-clients/api-platf
18
18
  current directory: /home/circleci/project/api-service-clients/api-platform-organization/ruby/vendor/bundle/ruby/3.1.0/gems/stringio-3.0.2/ext/stringio
19
19
  make DESTDIR\= install
20
20
  make[1]: Entering directory '/home/circleci/project/api-service-clients/api-platform-organization/ruby/vendor/bundle/ruby/3.1.0/gems/stringio-3.0.2/ext/stringio'
21
- /usr/bin/install -c -m 0755 stringio.so ./.gem.20220909-3332-2h9407
21
+ /usr/bin/install -c -m 0755 stringio.so ./.gem.20220912-3446-zkc30b
22
22
  make[1]: Leaving directory '/home/circleci/project/api-service-clients/api-platform-organization/ruby/vendor/bundle/ruby/3.1.0/gems/stringio-3.0.2/ext/stringio'
@@ -32,8 +32,8 @@ rubyhdrdir = $(includedir)/$(RUBY_VERSION_NAME)
32
32
  vendorarchdir = $(vendorlibdir)/$(sitearch)
33
33
  vendorlibdir = $(vendordir)/$(ruby_version)
34
34
  vendordir = $(rubylibprefix)/vendor_ruby
35
- sitearchdir = $(DESTDIR)./.gem.20220909-3332-fv71i0
36
- sitelibdir = $(DESTDIR)./.gem.20220909-3332-fv71i0
35
+ sitearchdir = $(DESTDIR)./.gem.20220912-3446-f9cbn2
36
+ sitelibdir = $(DESTDIR)./.gem.20220912-3446-f9cbn2
37
37
  sitedir = $(rubylibprefix)/site_ruby
38
38
  rubyarchdir = $(rubylibdir)/$(arch)
39
39
  rubylibdir = $(rubylibprefix)/$(ruby_version)
@@ -32,8 +32,8 @@ rubyhdrdir = $(includedir)/$(RUBY_VERSION_NAME)
32
32
  vendorarchdir = $(vendorlibdir)/$(sitearch)
33
33
  vendorlibdir = $(vendordir)/$(ruby_version)
34
34
  vendordir = $(rubylibprefix)/vendor_ruby
35
- sitearchdir = $(DESTDIR)./.gem.20220909-3332-9lnkas
36
- sitelibdir = $(DESTDIR)./.gem.20220909-3332-9lnkas
35
+ sitearchdir = $(DESTDIR)./.gem.20220912-3446-h73lc3
36
+ sitelibdir = $(DESTDIR)./.gem.20220912-3446-h73lc3
37
37
  sitedir = $(rubylibprefix)/site_ruby
38
38
  rubyarchdir = $(rubylibdir)/$(arch)
39
39
  rubylibdir = $(rubylibprefix)/$(ruby_version)
@@ -32,8 +32,8 @@ rubyhdrdir = $(includedir)/$(RUBY_VERSION_NAME)
32
32
  vendorarchdir = $(vendorlibdir)/$(sitearch)
33
33
  vendorlibdir = $(vendordir)/$(ruby_version)
34
34
  vendordir = $(rubylibprefix)/vendor_ruby
35
- sitearchdir = $(DESTDIR)./.gem.20220909-3332-r4p5x3
36
- sitelibdir = $(DESTDIR)./.gem.20220909-3332-r4p5x3
35
+ sitearchdir = $(DESTDIR)./.gem.20220912-3446-abeoku
36
+ sitelibdir = $(DESTDIR)./.gem.20220912-3446-abeoku
37
37
  sitedir = $(rubylibprefix)/site_ruby
38
38
  rubyarchdir = $(rubylibdir)/$(arch)
39
39
  rubylibdir = $(rubylibprefix)/$(ruby_version)
@@ -32,8 +32,8 @@ rubyhdrdir = $(includedir)/$(RUBY_VERSION_NAME)
32
32
  vendorarchdir = $(vendorlibdir)/$(sitearch)
33
33
  vendorlibdir = $(vendordir)/$(ruby_version)
34
34
  vendordir = $(rubylibprefix)/vendor_ruby
35
- sitearchdir = $(DESTDIR)./.gem.20220909-3332-8ze68z
36
- sitelibdir = $(DESTDIR)./.gem.20220909-3332-8ze68z
35
+ sitearchdir = $(DESTDIR)./.gem.20220912-3446-zo3pwh
36
+ sitelibdir = $(DESTDIR)./.gem.20220912-3446-zo3pwh
37
37
  sitedir = $(rubylibprefix)/site_ruby
38
38
  rubyarchdir = $(rubylibdir)/$(arch)
39
39
  rubylibdir = $(rubylibprefix)/$(ruby_version)
@@ -1,5 +1,15 @@
1
1
  ### Development
2
- [Full Changelog](http://github.com/rspec/rspec-expectations/compare/v3.11.0...3-11-maintenance)
2
+ [Full Changelog](http://github.com/rspec/rspec-expectations/compare/v3.11.1...3-11-maintenance)
3
+
4
+ ### 3.11.1 / 2022-09-12
5
+ [Full Changelog](http://github.com/rspec/rspec-expectations/compare/v3.11.0...v3.11.1)
6
+
7
+ Bug Fixes:
8
+
9
+ * Allow the `contain_exactly` matcher to be reused by resetting its
10
+ internals on `matches?` (@bclayman-sq, #1326)
11
+ * Using the exist matcher on `FileTest` no longer produces a deprecation warning.
12
+ (Ryo Nakamura, #1383)
3
13
 
4
14
  ### 3.11.0 / 2022-02-09
5
15
  [Full Changelog](http://github.com/rspec/rspec-expectations/compare/v3.10.2...v3.11.0)
@@ -2,7 +2,7 @@ module RSpec
2
2
  module Expectations
3
3
  # @private
4
4
  module Version
5
- STRING = '3.11.0'
5
+ STRING = '3.11.1'
6
6
  end
7
7
  end
8
8
  end
@@ -1,7 +1,7 @@
1
1
  module RSpec
2
2
  module Matchers
3
3
  module BuiltIn
4
- # rubocop:disable ClassLength
4
+ # rubocop:disable Metrics/ClassLength
5
5
  # @api private
6
6
  # Provides the implementation for `contain_exactly` and `match_array`.
7
7
  # Not intended to be instantiated directly.
@@ -31,6 +31,14 @@ module RSpec
31
31
  "contain exactly#{list}"
32
32
  end
33
33
 
34
+ def matches?(actual)
35
+ @pairings_maximizer = nil
36
+ @best_solution = nil
37
+ @extra_items = nil
38
+ @missing_items = nil
39
+ super(actual)
40
+ end
41
+
34
42
  private
35
43
 
36
44
  def generate_failure_message
@@ -296,7 +304,7 @@ module RSpec
296
304
  end
297
305
  end
298
306
  end
299
- # rubocop:enable ClassLength
307
+ # rubocop:enable Metrics/ClassLength
300
308
  end
301
309
  end
302
310
  end
@@ -2,7 +2,7 @@ module RSpec
2
2
  module Matchers
3
3
  module BuiltIn
4
4
  # @api private
5
- # Asbtract class to implement `once`, `at_least` and other
5
+ # Abstract class to implement `once`, `at_least` and other
6
6
  # count constraints.
7
7
  module CountExpectation
8
8
  # @api public
@@ -81,7 +81,7 @@ module RSpec
81
81
  end
82
82
 
83
83
  def deprecated(predicate, actual)
84
- predicate == :exists? && File == actual
84
+ predicate == :exists? && (File == actual || FileTest == actual)
85
85
  end
86
86
  end
87
87
  end
@@ -4,8 +4,8 @@ module RSpec
4
4
  # @api private
5
5
  # Provides the implementation for `raise_error`.
6
6
  # Not intended to be instantiated directly.
7
- # rubocop:disable ClassLength
8
- # rubocop:disable RescueException
7
+ # rubocop:disable Metrics/ClassLength
8
+ # rubocop:disable Lint/RescueException
9
9
  class RaiseError
10
10
  include Composable
11
11
 
@@ -43,7 +43,7 @@ module RSpec
43
43
  self
44
44
  end
45
45
 
46
- # rubocop:disable MethodLength
46
+ # rubocop:disable Metrics/MethodLength
47
47
  # @private
48
48
  def matches?(given_proc, negative_expectation=false, &block)
49
49
  @given_proc = given_proc
@@ -73,7 +73,7 @@ module RSpec
73
73
 
74
74
  expectation_matched?
75
75
  end
76
- # rubocop:enable MethodLength
76
+ # rubocop:enable Metrics/MethodLength
77
77
 
78
78
  # @private
79
79
  def does_not_match?(given_proc)
@@ -264,8 +264,8 @@ module RSpec
264
264
  warning if @actual_error
265
265
  end
266
266
  end
267
- # rubocop:enable RescueException
268
- # rubocop:enable ClassLength
267
+ # rubocop:enable Lint/RescueException
268
+ # rubocop:enable Metrics/ClassLength
269
269
  end
270
270
  end
271
271
  end
@@ -13,7 +13,7 @@ module RSpec
13
13
  @caught_symbol = @caught_arg = nil
14
14
  end
15
15
 
16
- # rubocop:disable MethodLength
16
+ # rubocop:disable Metrics/MethodLength
17
17
  # @private
18
18
  def matches?(given_proc)
19
19
  @block = given_proc
@@ -48,7 +48,7 @@ module RSpec
48
48
  rescue => other_exception
49
49
  raise
50
50
  ensure
51
- # rubocop:disable EnsureReturn
51
+ # rubocop:disable Lint/EnsureReturn
52
52
  unless other_exception
53
53
  if @expected_symbol.nil?
54
54
  return !!@caught_symbol
@@ -60,10 +60,10 @@ module RSpec
60
60
  end
61
61
  end
62
62
  end
63
- # rubocop:enable EnsureReturn
63
+ # rubocop:enable Lint/EnsureReturn
64
64
  end
65
65
  end
66
- # rubocop:enable MethodLength
66
+ # rubocop:enable Metrics/MethodLength
67
67
 
68
68
  def does_not_match?(given_proc)
69
69
  !matches?(given_proc) && Proc === given_proc
@@ -122,7 +122,7 @@ module RSpec
122
122
  #
123
123
  # By default the match block will swallow expectation errors (e.g.
124
124
  # caused by using an expectation such as `expect(1).to eq 2`), if you
125
- # with to allow these to bubble up, pass in the option
125
+ # wish to allow these to bubble up, pass in the option
126
126
  # `:notify_expectation_failures => true`.
127
127
  #
128
128
  # @param [Hash] options for defining the behavior of the match block.
@@ -151,7 +151,7 @@ module RSpec
151
151
  #
152
152
  # By default the match block will swallow expectation errors (e.g.
153
153
  # caused by using an expectation such as `expect(1).to eq 2`), if you
154
- # with to allow these to bubble up, pass in the option
154
+ # wish to allow these to bubble up, pass in the option
155
155
  # `:notify_expectation_failures => true`.
156
156
  #
157
157
  # @param [Hash] options for defining the behavior of the match block.
@@ -36,7 +36,7 @@ module RSpec
36
36
  # expect([]).to be_empty # => [].empty?() | passes
37
37
  # expect([]).not_to be_empty # => [].empty?() | fails
38
38
  #
39
- # In addtion to prefixing the predicate matchers with "be_", you can also use "be_a_"
39
+ # In addition to prefixing the predicate matchers with "be_", you can also use "be_a_"
40
40
  # and "be_an_", making your specs read much more naturally:
41
41
  #
42
42
  # expect("a string").to be_an_instance_of(String) # =>"a string".instance_of?(String) # passes
@@ -753,8 +753,8 @@ module RSpec
753
753
 
754
754
  # With no args, matches if any error is raised.
755
755
  # With a named error, matches only if that specific error is raised.
756
- # With a named error and messsage specified as a String, matches only if both match.
757
- # With a named error and messsage specified as a Regexp, matches only if both match.
756
+ # With a named error and message specified as a String, matches only if both match.
757
+ # With a named error and message specified as a Regexp, matches only if both match.
758
758
  # Pass an optional block to perform extra verifications on the exception matched
759
759
  #
760
760
  # @example