radiomanager_client 1.0.83 → 1.0.87
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/README.md +1 -2
- data/docs/VisualSlideApi.md +0 -49
- data/lib/radiomanager_client/api/visual_slide_api.rb +0 -49
- data/radiomanager_client.gemspec +1 -1
- data/spec/api/visual_slide_api_spec.rb +0 -11
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 9fd61ad42bb1b1b2f05c5bb1c282b77c1bd82601
|
4
|
+
data.tar.gz: e256706925402f529da648be5e5aa2898be25a5c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5afb10f0eb05057fd001b2d83dadca9b0c53aac5abc7b14242de539884230c447be6bc1b97f087610cd79275b71b4a7edb64ee5a013be5bc0acf566fb1ceaa75
|
7
|
+
data.tar.gz: 5b6103686a0087422dfff839bb8ef3b0c7af594785e3e7309b20cd8d46977a8746b1875095e9972836f721421d883bab9627b66fb2cf3f03f803f57a66d7fc88
|
data/README.md
CHANGED
@@ -3,7 +3,7 @@
|
|
3
3
|
RadioManagerClient - the Ruby gem for the Pluxbox Radiomanager Client
|
4
4
|
|
5
5
|
- API version: 2.0
|
6
|
-
- Package version: 1.0.
|
6
|
+
- Package version: 1.0.87
|
7
7
|
For more information, please visit [https://pluxbox.com](https://pluxbox.com)
|
8
8
|
|
9
9
|
## Installation
|
@@ -112,7 +112,6 @@ Class | Method | HTTP request | Description
|
|
112
112
|
*RadioManagerClient::UserApi* | [**get_user_by_id**](docs/UserApi.md#get_user_by_id) | **GET** /users/{id} | Get user by id
|
113
113
|
*RadioManagerClient::UserApi* | [**invite_user_by_mail**](docs/UserApi.md#invite_user_by_mail) | **POST** /users/invite | Invite user by mail
|
114
114
|
*RadioManagerClient::UserApi* | [**list_users**](docs/UserApi.md#list_users) | **GET** /users | Get all users.
|
115
|
-
*RadioManagerClient::VisualSlideApi* | [**download_visual_slide**](docs/VisualSlideApi.md#download_visual_slide) | **GET** /visual/image | Get Visual Slide Image as JPEG
|
116
115
|
*RadioManagerClient::VisualSlideApi* | [**get_visual_slide**](docs/VisualSlideApi.md#get_visual_slide) | **GET** /visual | Get Visual Slide Image as Base64
|
117
116
|
|
118
117
|
|
data/docs/VisualSlideApi.md
CHANGED
@@ -4,58 +4,9 @@ All URIs are relative to *https://staging.radiomanager.pluxbox.com/api/v2*
|
|
4
4
|
|
5
5
|
Method | HTTP request | Description
|
6
6
|
------------- | ------------- | -------------
|
7
|
-
[**download_visual_slide**](VisualSlideApi.md#download_visual_slide) | **GET** /visual/image | Get Visual Slide Image as JPEG
|
8
7
|
[**get_visual_slide**](VisualSlideApi.md#get_visual_slide) | **GET** /visual | Get Visual Slide Image as Base64
|
9
8
|
|
10
9
|
|
11
|
-
# **download_visual_slide**
|
12
|
-
> VisualImageResult download_visual_slide
|
13
|
-
|
14
|
-
Get Visual Slide Image as JPEG
|
15
|
-
|
16
|
-
Get Visual Slide Image as JPEG
|
17
|
-
|
18
|
-
### Example
|
19
|
-
```ruby
|
20
|
-
# load the gem
|
21
|
-
require 'radiomanager_client'
|
22
|
-
# setup authorization
|
23
|
-
RadioManagerClient.configure do |config|
|
24
|
-
# Configure API key authorization: API Key
|
25
|
-
config.api_key['api-key'] = 'YOUR API KEY'
|
26
|
-
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
27
|
-
#config.api_key_prefix['api-key'] = 'Bearer'
|
28
|
-
end
|
29
|
-
|
30
|
-
api_instance = RadioManagerClient::VisualSlideApi.new
|
31
|
-
|
32
|
-
begin
|
33
|
-
#Get Visual Slide Image as JPEG
|
34
|
-
result = api_instance.download_visual_slide
|
35
|
-
p result
|
36
|
-
rescue RadioManagerClient::ApiError => e
|
37
|
-
puts "Exception when calling VisualSlideApi->download_visual_slide: #{e}"
|
38
|
-
end
|
39
|
-
```
|
40
|
-
|
41
|
-
### Parameters
|
42
|
-
This endpoint does not need any parameter.
|
43
|
-
|
44
|
-
### Return type
|
45
|
-
|
46
|
-
[**VisualImageResult**](VisualImageResult.md)
|
47
|
-
|
48
|
-
### Authorization
|
49
|
-
|
50
|
-
[API Key](../README.md#API Key)
|
51
|
-
|
52
|
-
### HTTP request headers
|
53
|
-
|
54
|
-
- **Content-Type**: application/json
|
55
|
-
- **Accept**: application/json
|
56
|
-
|
57
|
-
|
58
|
-
|
59
10
|
# **get_visual_slide**
|
60
11
|
> VisualResult get_visual_slide
|
61
12
|
|
@@ -20,55 +20,6 @@ module RadioManagerClient
|
|
20
20
|
@api_client = api_client
|
21
21
|
end
|
22
22
|
|
23
|
-
# Get Visual Slide Image as JPEG
|
24
|
-
# Get Visual Slide Image as JPEG
|
25
|
-
# @param [Hash] opts the optional parameters
|
26
|
-
# @return [VisualImageResult]
|
27
|
-
def download_visual_slide(opts = {})
|
28
|
-
data, _status_code, _headers = download_visual_slide_with_http_info(opts)
|
29
|
-
return data
|
30
|
-
end
|
31
|
-
|
32
|
-
# Get Visual Slide Image as JPEG
|
33
|
-
# Get Visual Slide Image as JPEG
|
34
|
-
# @param [Hash] opts the optional parameters
|
35
|
-
# @return [Array<(VisualImageResult, Fixnum, Hash)>] VisualImageResult data, response status code and response headers
|
36
|
-
def download_visual_slide_with_http_info(opts = {})
|
37
|
-
if @api_client.config.debugging
|
38
|
-
@api_client.config.logger.debug "Calling API: VisualSlideApi.download_visual_slide ..."
|
39
|
-
end
|
40
|
-
# resource path
|
41
|
-
local_var_path = "/visual/image"
|
42
|
-
|
43
|
-
# query parameters
|
44
|
-
query_params = {}
|
45
|
-
|
46
|
-
# header parameters
|
47
|
-
header_params = {}
|
48
|
-
# HTTP header 'Accept' (if needed)
|
49
|
-
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
50
|
-
# HTTP header 'Content-Type'
|
51
|
-
header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
|
52
|
-
|
53
|
-
# form parameters
|
54
|
-
form_params = {}
|
55
|
-
|
56
|
-
# http body (model)
|
57
|
-
post_body = nil
|
58
|
-
auth_names = ['API Key']
|
59
|
-
data, status_code, headers = @api_client.call_api(:GET, local_var_path,
|
60
|
-
:header_params => header_params,
|
61
|
-
:query_params => query_params,
|
62
|
-
:form_params => form_params,
|
63
|
-
:body => post_body,
|
64
|
-
:auth_names => auth_names,
|
65
|
-
:return_type => 'VisualImageResult')
|
66
|
-
if @api_client.config.debugging
|
67
|
-
@api_client.config.logger.debug "API called: VisualSlideApi#download_visual_slide\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
68
|
-
end
|
69
|
-
return data, status_code, headers
|
70
|
-
end
|
71
|
-
|
72
23
|
# Get Visual Slide Image as Base64
|
73
24
|
# Get Visual Slide Image as Base64
|
74
25
|
# @param [Hash] opts the optional parameters
|
data/radiomanager_client.gemspec
CHANGED
@@ -32,17 +32,6 @@ describe 'VisualSlideApi' do
|
|
32
32
|
end
|
33
33
|
end
|
34
34
|
|
35
|
-
# unit tests for download_visual_slide
|
36
|
-
# Get Visual Slide Image as JPEG
|
37
|
-
# Get Visual Slide Image as JPEG
|
38
|
-
# @param [Hash] opts the optional parameters
|
39
|
-
# @return [VisualImageResult]
|
40
|
-
describe 'download_visual_slide test' do
|
41
|
-
it "should work" do
|
42
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
43
|
-
end
|
44
|
-
end
|
45
|
-
|
46
35
|
# unit tests for get_visual_slide
|
47
36
|
# Get Visual Slide Image as Base64
|
48
37
|
# Get Visual Slide Image as Base64
|