docs/OCRApi.md in budgea_client-1.3.6 vs docs/OCRApi.md in budgea_client-1.3.9
- old
+ new
@@ -17,10 +17,17 @@
### Example
```ruby
# load the gem
require 'budgea_client'
+# setup authorization
+BudgeaClient.configure do |config|
+ # Configure API key authorization: api_key
+ config.api_key['Authorization'] = 'YOUR API KEY'
+ # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
+ #config.api_key_prefix['Authorization'] = 'Bearer'
+end
api_instance = BudgeaClient::OCRApi.new
file = File.new("/path/to/file.txt") # File | File of the document
@@ -49,11 +56,11 @@
nil (empty response body)
### Authorization
-No authorization required
+[api_key](../README.md#api_key)
### HTTP request headers
- **Content-Type**: multipart/form-data
- **Accept**: application/json
@@ -69,10 +76,17 @@
### Example
```ruby
# load the gem
require 'budgea_client'
+# setup authorization
+BudgeaClient.configure do |config|
+ # Configure API key authorization: api_key
+ config.api_key['Authorization'] = 'YOUR API KEY'
+ # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
+ #config.api_key_prefix['Authorization'] = 'Bearer'
+end
api_instance = BudgeaClient::OCRApi.new
id_user = "id_user_example" # String | Hint: you can use 'me' or 'all'
@@ -104,10 +118,10 @@
nil (empty response body)
### Authorization
-No authorization required
+[api_key](../README.md#api_key)
### HTTP request headers
- **Content-Type**: multipart/form-data
- **Accept**: application/json