radiomanager_client 1.1.1 → 1.1.2

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 024342ccde3336b36b7162b921780375a2c71e56
4
- data.tar.gz: a81f2709d224b4cc5c7a7eba50d3e167db0c95ee
3
+ metadata.gz: 0f31c2e9253c27cf795afad074304af1fe33a0c4
4
+ data.tar.gz: c7b7118ca3f5a3504a5965e826e34d9ada54d812
5
5
  SHA512:
6
- metadata.gz: bfd73f5e8f0c9290b41ec987266acb03c5334e14741d6eb026ff0d97a9e74ed0cf2b9f1defa4924a4fd1887df047e3a14183610ba4b7b67c41f3bb00b70d497c
7
- data.tar.gz: b67664910bec42210f332097ec75fbb1c0ea24b8d0f0da7a88b412afbb89e2bd6b4515b42cf8425e0d58c239fc9915b662895ebe12a30358e057c88d32936631
6
+ metadata.gz: 13979c4f4e555aabace0a7e21f063df51b47fb2bdfdd376e8b469f6e81ed2cdb21471953de82e5682e1c096eebe27293b4d5d119ace127d856505ad3f9ce52f6
7
+ data.tar.gz: 30a14227a7e7b9a3661d8c9ea251adc8409044bac75f353f1feff232f33eb0a71f8c9c688074d4ac25e685aa4a69dee9a8dfdcb71f89fe26664677d3a40af0dc
data/README.md CHANGED
@@ -3,7 +3,7 @@
3
3
  RadioManagerClient - the Ruby gem for the RadioManager
4
4
 
5
5
  - API version: 2.0
6
- - Package version: 1.1.1
6
+ - Package version: 1.1.2
7
7
  For more information, please visit [https://pluxbox.com](https://pluxbox.com)
8
8
 
9
9
  ## Installation
data/docs/BroadcastApi.md CHANGED
@@ -184,7 +184,7 @@ Name | Type | Description | Notes
184
184
 
185
185
 
186
186
  # **get_current_broadcast**
187
- > Broadcast get_current_broadcast
187
+ > BroadcastResult get_current_broadcast(opts)
188
188
 
189
189
  Get current Broadcast
190
190
 
@@ -204,9 +204,13 @@ end
204
204
 
205
205
  api_instance = RadioManagerClient::BroadcastApi.new
206
206
 
207
+ opts = {
208
+ withunpublished: true # BOOLEAN | Show Unpublished *(Optional)*
209
+ }
210
+
207
211
  begin
208
212
  #Get current Broadcast
209
- result = api_instance.get_current_broadcast
213
+ result = api_instance.get_current_broadcast(opts)
210
214
  p result
211
215
  rescue RadioManagerClient::ApiError => e
212
216
  puts "Exception when calling BroadcastApi->get_current_broadcast: #{e}"
@@ -214,11 +218,14 @@ end
214
218
  ```
215
219
 
216
220
  ### Parameters
217
- This endpoint does not need any parameter.
221
+
222
+ Name | Type | Description | Notes
223
+ ------------- | ------------- | ------------- | -------------
224
+ **withunpublished** | **BOOLEAN**| Show Unpublished *(Optional)* | [optional]
218
225
 
219
226
  ### Return type
220
227
 
221
- [**Broadcast**](Broadcast.md)
228
+ [**BroadcastResult**](BroadcastResult.md)
222
229
 
223
230
  ### Authorization
224
231
 
@@ -346,7 +353,7 @@ Name | Type | Description | Notes
346
353
 
347
354
 
348
355
  # **get_next_broadcast**
349
- > Broadcast get_next_broadcast
356
+ > BroadcastResult get_next_broadcast(opts)
350
357
 
351
358
  Get next Broadcast
352
359
 
@@ -366,9 +373,13 @@ end
366
373
 
367
374
  api_instance = RadioManagerClient::BroadcastApi.new
368
375
 
376
+ opts = {
377
+ withunpublished: true # BOOLEAN | Show Unpublished *(Optional)*
378
+ }
379
+
369
380
  begin
370
381
  #Get next Broadcast
371
- result = api_instance.get_next_broadcast
382
+ result = api_instance.get_next_broadcast(opts)
372
383
  p result
373
384
  rescue RadioManagerClient::ApiError => e
374
385
  puts "Exception when calling BroadcastApi->get_next_broadcast: #{e}"
@@ -376,11 +387,14 @@ end
376
387
  ```
377
388
 
378
389
  ### Parameters
379
- This endpoint does not need any parameter.
390
+
391
+ Name | Type | Description | Notes
392
+ ------------- | ------------- | ------------- | -------------
393
+ **withunpublished** | **BOOLEAN**| Show Unpublished *(Optional)* | [optional]
380
394
 
381
395
  ### Return type
382
396
 
383
- [**Broadcast**](Broadcast.md)
397
+ [**BroadcastResult**](BroadcastResult.md)
384
398
 
385
399
  ### Authorization
386
400
 
@@ -12,7 +12,7 @@ Name | Type | Description | Notes
12
12
  **medium_name** | **String** | | [optional]
13
13
  **website** | **String** | | [optional]
14
14
  **email** | **String** | | [optional]
15
- **keywords** | **String** | | [optional]
15
+ **keywords** | **Array<String>** | | [optional]
16
16
  **description** | **String** | | [optional]
17
17
  **sms** | **String** | | [optional]
18
18
  **telephone** | **String** | | [optional]
@@ -199,7 +199,8 @@ module RadioManagerClient
199
199
  # Get current Broadcast
200
200
  # Get current Broadcast
201
201
  # @param [Hash] opts the optional parameters
202
- # @return [Broadcast]
202
+ # @option opts [BOOLEAN] :withunpublished Show Unpublished *(Optional)*
203
+ # @return [BroadcastResult]
203
204
  def get_current_broadcast(opts = {})
204
205
  data, _status_code, _headers = get_current_broadcast_with_http_info(opts)
205
206
  return data
@@ -208,7 +209,8 @@ module RadioManagerClient
208
209
  # Get current Broadcast
209
210
  # Get current Broadcast
210
211
  # @param [Hash] opts the optional parameters
211
- # @return [Array<(Broadcast, Fixnum, Hash)>] Broadcast data, response status code and response headers
212
+ # @option opts [BOOLEAN] :withunpublished Show Unpublished *(Optional)*
213
+ # @return [Array<(BroadcastResult, Fixnum, Hash)>] BroadcastResult data, response status code and response headers
212
214
  def get_current_broadcast_with_http_info(opts = {})
213
215
  if @api_client.config.debugging
214
216
  @api_client.config.logger.debug "Calling API: BroadcastApi.get_current_broadcast ..."
@@ -218,6 +220,7 @@ module RadioManagerClient
218
220
 
219
221
  # query parameters
220
222
  query_params = {}
223
+ query_params[:'withunpublished'] = opts[:'withunpublished'] if !opts[:'withunpublished'].nil?
221
224
 
222
225
  # header parameters
223
226
  header_params = {}
@@ -238,7 +241,7 @@ module RadioManagerClient
238
241
  :form_params => form_params,
239
242
  :body => post_body,
240
243
  :auth_names => auth_names,
241
- :return_type => 'Broadcast')
244
+ :return_type => 'BroadcastResult')
242
245
  if @api_client.config.debugging
243
246
  @api_client.config.logger.debug "API called: BroadcastApi#get_current_broadcast\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
244
247
  end
@@ -358,7 +361,8 @@ module RadioManagerClient
358
361
  # Get next Broadcast
359
362
  # Get next Broadcast
360
363
  # @param [Hash] opts the optional parameters
361
- # @return [Broadcast]
364
+ # @option opts [BOOLEAN] :withunpublished Show Unpublished *(Optional)*
365
+ # @return [BroadcastResult]
362
366
  def get_next_broadcast(opts = {})
363
367
  data, _status_code, _headers = get_next_broadcast_with_http_info(opts)
364
368
  return data
@@ -367,7 +371,8 @@ module RadioManagerClient
367
371
  # Get next Broadcast
368
372
  # Get next Broadcast
369
373
  # @param [Hash] opts the optional parameters
370
- # @return [Array<(Broadcast, Fixnum, Hash)>] Broadcast data, response status code and response headers
374
+ # @option opts [BOOLEAN] :withunpublished Show Unpublished *(Optional)*
375
+ # @return [Array<(BroadcastResult, Fixnum, Hash)>] BroadcastResult data, response status code and response headers
371
376
  def get_next_broadcast_with_http_info(opts = {})
372
377
  if @api_client.config.debugging
373
378
  @api_client.config.logger.debug "Calling API: BroadcastApi.get_next_broadcast ..."
@@ -377,6 +382,7 @@ module RadioManagerClient
377
382
 
378
383
  # query parameters
379
384
  query_params = {}
385
+ query_params[:'withunpublished'] = opts[:'withunpublished'] if !opts[:'withunpublished'].nil?
380
386
 
381
387
  # header parameters
382
388
  header_params = {}
@@ -397,7 +403,7 @@ module RadioManagerClient
397
403
  :form_params => form_params,
398
404
  :body => post_body,
399
405
  :auth_names => auth_names,
400
- :return_type => 'Broadcast')
406
+ :return_type => 'BroadcastResult')
401
407
  if @api_client.config.debugging
402
408
  @api_client.config.logger.debug "API called: BroadcastApi#get_next_broadcast\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
403
409
  end
@@ -112,7 +112,7 @@ module RadioManagerClient
112
112
  :'medium_name' => :'String',
113
113
  :'website' => :'String',
114
114
  :'email' => :'String',
115
- :'keywords' => :'String',
115
+ :'keywords' => :'Array<String>',
116
116
  :'description' => :'String',
117
117
  :'sms' => :'String',
118
118
  :'telephone' => :'String',
@@ -177,7 +177,9 @@ module RadioManagerClient
177
177
  end
178
178
 
179
179
  if attributes.has_key?(:'keywords')
180
- self.keywords = attributes[:'keywords']
180
+ if (value = attributes[:'keywords']).is_a?(Array)
181
+ self.keywords = value
182
+ end
181
183
  end
182
184
 
183
185
  if attributes.has_key?(:'description')
@@ -17,7 +17,7 @@ require "radiomanager_client/version"
17
17
 
18
18
  Gem::Specification.new do |s|
19
19
  s.name = "radiomanager_client"
20
- s.version = "1.1.1"
20
+ s.version = "1.1.2"
21
21
  s.platform = Gem::Platform::RUBY
22
22
  s.authors = ["Pluxbox"]
23
23
  s.email = ["support@pluxbox.com"]
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: radiomanager_client
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.1
4
+ version: 1.1.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Pluxbox
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-10-25 00:00:00.000000000 Z
11
+ date: 2017-11-02 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: typhoeus