radiomanager_client 1.0.97 → 1.0.99

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 662795e107903051cc7c9861f3c59c4debdf1d1d
4
- data.tar.gz: 89a27d934ef908d84c2e99818f51833e697c0f8b
3
+ metadata.gz: 45d9abce69526658484d2523871843c3d661e9cf
4
+ data.tar.gz: fc773d5e46aca06db8a3464f90b62b9d2863d09e
5
5
  SHA512:
6
- metadata.gz: 57f251b2ff9ac5c25c58ef52caa0e51cb1e056190c1df78c1ff4715808614c0042158291a8ce47061f69c6eec1aa6ebb27abd071c3fff23a5bd82b7d5306a2ba
7
- data.tar.gz: f150d571df68c1f9831d296faea127a2593a5b4eb1675a1470ff7b726a67a0e0b63b3cc1a91688a3c8860f0ef7ab18577b0895aaab5b26c88c30cb0a6dd8cb7b
6
+ metadata.gz: 12ef604f5ba57ecd756a6a5d5f0a9b6e8eae19746237fdf4425efc7f8716d8981e0624180bc3af31e9499846109e8ee9a88eda1974d794e838320d9de56e7680
7
+ data.tar.gz: 765cc77393405a4e36279303229d0931bbb113420191ce3e1bf2d14b96ad235e3ef41c4de012dc086cd7d1a9f653df1988f18a9e1c37ce2b5e27fb835bdd105b
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.0.97
6
+ - Package version: 1.0.99
7
7
  For more information, please visit [https://pluxbox.com](https://pluxbox.com)
8
8
 
9
9
  ## Installation
data/docs/ImportItem.md CHANGED
@@ -4,7 +4,7 @@
4
4
  Name | Type | Description | Notes
5
5
  ------------ | ------------- | ------------- | -------------
6
6
  **model_type_id** | **Integer** | |
7
- **external_id** | **Integer** | |
7
+ **external_id** | **String** | |
8
8
  **field_values** | [**ImportItemFieldValues**](ImportItemFieldValues.md) | | [optional]
9
9
  **title** | **String** | | [optional]
10
10
  **duration** | **Integer** | | [optional]
data/docs/Item.md CHANGED
@@ -5,7 +5,7 @@ Name | Type | Description | Notes
5
5
  ------------ | ------------- | ------------- | -------------
6
6
  **model_type_id** | **Integer** | |
7
7
  **block_id** | **Integer** | | [optional]
8
- **external_id** | **Integer** | |
8
+ **external_id** | **String** | | [optional]
9
9
  **field_values** | [**ImportItemFieldValues**](ImportItemFieldValues.md) | | [optional]
10
10
  **title** | **String** | | [optional]
11
11
  **duration** | **Integer** | | [optional]
@@ -5,7 +5,7 @@ Name | Type | Description | Notes
5
5
  ------------ | ------------- | ------------- | -------------
6
6
  **model_type_id** | **Integer** | |
7
7
  **block_id** | **Integer** | | [optional]
8
- **external_id** | **Integer** | |
8
+ **external_id** | **String** | | [optional]
9
9
  **field_values** | [**ImportItemFieldValues**](ImportItemFieldValues.md) | | [optional]
10
10
  **title** | **String** | | [optional]
11
11
  **duration** | **Integer** | | [optional]
data/docs/ItemResult.md CHANGED
@@ -14,7 +14,7 @@ Name | Type | Description | Notes
14
14
  **_external_station_id** | **Integer** | | [optional]
15
15
  **model_type_id** | **Integer** | |
16
16
  **block_id** | **Integer** | | [optional]
17
- **external_id** | **Integer** | |
17
+ **external_id** | **String** | | [optional]
18
18
  **field_values** | [**ImportItemFieldValues**](ImportItemFieldValues.md) | | [optional]
19
19
  **title** | **String** | | [optional]
20
20
  **duration** | **Integer** | | [optional]
@@ -59,7 +59,7 @@ module RadioManagerClient
59
59
  def self.swagger_types
60
60
  {
61
61
  :'model_type_id' => :'Integer',
62
- :'external_id' => :'Integer',
62
+ :'external_id' => :'String',
63
63
  :'field_values' => :'ImportItemFieldValues',
64
64
  :'title' => :'String',
65
65
  :'duration' => :'Integer',
@@ -96,7 +96,7 @@ module RadioManagerClient
96
96
  {
97
97
  :'model_type_id' => :'Integer',
98
98
  :'block_id' => :'Integer',
99
- :'external_id' => :'Integer',
99
+ :'external_id' => :'String',
100
100
  :'field_values' => :'ImportItemFieldValues',
101
101
  :'title' => :'String',
102
102
  :'duration' => :'Integer',
@@ -195,10 +195,6 @@ module RadioManagerClient
195
195
  invalid_properties.push("invalid value for 'model_type_id', model_type_id cannot be nil.")
196
196
  end
197
197
 
198
- if @external_id.nil?
199
- invalid_properties.push("invalid value for 'external_id', external_id cannot be nil.")
200
- end
201
-
202
198
  return invalid_properties
203
199
  end
204
200
 
@@ -206,7 +202,6 @@ module RadioManagerClient
206
202
  # @return true if the model is valid
207
203
  def valid?
208
204
  return false if @model_type_id.nil?
209
- return false if @external_id.nil?
210
205
  status_validator = EnumAttributeValidator.new('String', ["scheduled", "playing", "played"])
211
206
  return false unless status_validator.valid?(@status)
212
207
  return true
@@ -105,7 +105,7 @@ module RadioManagerClient
105
105
  {
106
106
  :'model_type_id' => :'Integer',
107
107
  :'block_id' => :'Integer',
108
- :'external_id' => :'Integer',
108
+ :'external_id' => :'String',
109
109
  :'field_values' => :'ImportItemFieldValues',
110
110
  :'title' => :'String',
111
111
  :'duration' => :'Integer',
@@ -223,10 +223,6 @@ module RadioManagerClient
223
223
  invalid_properties.push("invalid value for 'model_type_id', model_type_id cannot be nil.")
224
224
  end
225
225
 
226
- if @external_id.nil?
227
- invalid_properties.push("invalid value for 'external_id', external_id cannot be nil.")
228
- end
229
-
230
226
  return invalid_properties
231
227
  end
232
228
 
@@ -234,7 +230,6 @@ module RadioManagerClient
234
230
  # @return true if the model is valid
235
231
  def valid?
236
232
  return false if @model_type_id.nil?
237
- return false if @external_id.nil?
238
233
  status_validator = EnumAttributeValidator.new('String', ["scheduled", "playing", "played"])
239
234
  return false unless status_validator.valid?(@status)
240
235
  return true
@@ -153,7 +153,7 @@ module RadioManagerClient
153
153
  :'_external_station_id' => :'Integer',
154
154
  :'model_type_id' => :'Integer',
155
155
  :'block_id' => :'Integer',
156
- :'external_id' => :'Integer',
156
+ :'external_id' => :'String',
157
157
  :'field_values' => :'ImportItemFieldValues',
158
158
  :'title' => :'String',
159
159
  :'duration' => :'Integer',
@@ -323,10 +323,6 @@ module RadioManagerClient
323
323
  invalid_properties.push("invalid value for 'model_type_id', model_type_id cannot be nil.")
324
324
  end
325
325
 
326
- if @external_id.nil?
327
- invalid_properties.push("invalid value for 'external_id', external_id cannot be nil.")
328
- end
329
-
330
326
  return invalid_properties
331
327
  end
332
328
 
@@ -334,7 +330,6 @@ module RadioManagerClient
334
330
  # @return true if the model is valid
335
331
  def valid?
336
332
  return false if @model_type_id.nil?
337
- return false if @external_id.nil?
338
333
  status_validator = EnumAttributeValidator.new('String', ["scheduled", "playing", "played"])
339
334
  return false unless status_validator.valid?(@status)
340
335
  return true
@@ -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.0.97"
20
+ s.version = "1.0.99"
21
21
  s.platform = Gem::Platform::RUBY
22
22
  s.authors = ["Pluxbox"]
23
23
  s.email = ["support@pluxbox.com"]
@@ -18,7 +18,7 @@ describe RadioManagerClient::Configuration do
18
18
  before(:each) do
19
19
  # uncomment below to setup host and base_path
20
20
  #require 'URI'
21
- #uri = URI.parse("http://radiomanager.pb/api/v2")
21
+ #uri = URI.parse("https://staging.pluxbox.com/api/v2")
22
22
  #RadioManagerClient.configure do |c|
23
23
  # c.host = uri.host
24
24
  # c.base_path = uri.path
@@ -28,14 +28,14 @@ describe RadioManagerClient::Configuration do
28
28
  describe '#base_url' do
29
29
  it 'should have the default value' do
30
30
  # uncomment below to test default value of the base path
31
- #expect(config.base_url).to eq("http://radiomanager.pb/api/v2")
31
+ #expect(config.base_url).to eq("https://staging.pluxbox.com/api/v2")
32
32
  end
33
33
 
34
34
  it 'should remove trailing slashes' do
35
35
  [nil, '', '/', '//'].each do |base_path|
36
36
  config.base_path = base_path
37
37
  # uncomment below to test trailing slashes
38
- #expect(config.base_url).to eq("http://radiomanager.pb/api/v2")
38
+ #expect(config.base_url).to eq("https://staging.pluxbox.com/api/v2")
39
39
  end
40
40
  end
41
41
  end
@@ -132,7 +132,7 @@ describe 'ItemDataInput' do
132
132
  end
133
133
  end
134
134
 
135
- describe 'test attribute "previous_id"' do
135
+ describe 'test attribute "_previous_id"' do
136
136
  it 'should work' do
137
137
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
138
138
  end
@@ -32,7 +32,7 @@ describe 'ItemInputOnly' do
32
32
  expect(@instance).to be_instance_of(RadioManagerClient::ItemInputOnly)
33
33
  end
34
34
  end
35
- describe 'test attribute "previous_id"' do
35
+ describe 'test attribute "_previous_id"' do
36
36
  it 'should work' do
37
37
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
38
38
  end
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.0.97
4
+ version: 1.0.99
5
5
  platform: ruby
6
6
  authors:
7
7
  - Pluxbox
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-08-21 00:00:00.000000000 Z
11
+ date: 2017-08-31 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: typhoeus