radiomanager_client 1.0.1 → 1.0.7
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +4 -38
- data/docs/BlockApi.md +1 -1
- data/docs/BroadcastApi.md +1 -1
- data/docs/CampaignApi.md +1 -1
- data/docs/ContactApi.md +1 -1
- data/docs/ExternalMessageApi.md +1 -1
- data/docs/GenreApi.md +1 -1
- data/docs/ItemApi.md +1 -1
- data/docs/ModelTypeApi.md +1 -1
- data/docs/PresenterApi.md +1 -1
- data/docs/ProgramApi.md +1 -1
- data/docs/StringApi.md +1 -1
- data/docs/TagApi.md +1 -1
- data/docs/UserApi.md +1 -1
- data/docs/VisualSlideApi.md +1 -1
- data/lib/radiomanager_client/configuration.rb +2 -2
- data/radiomanager_client.gemspec +2 -2
- data/spec/configuration_spec.rb +3 -3
- metadata +3 -4
- data/radiomanager_client-1.0.0.gem +0 -0
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a1388de56de2eff81828ddbd5f70879e4763c127
|
4
|
+
data.tar.gz: 1498ec98a251046e429395db4d34d3de3fa43b01
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5efc793cf5f28b34e008edbaf94fd8b2fb96a01a307b3f8d12e0db95c41a6957db908a7f9d2a08151d9908b3ff9c0a3c43fbb26cf1f8e3837987f0175cc4dd01
|
7
|
+
data.tar.gz: 1fa7d9fb3425c568f6a458235dae956dbf67106db183733cb936f61b7b102ca397b56ddbad6264a02d2b08e3f8d5f228289b605913368016e22784c0b3d809f5
|
data/README.md
CHANGED
@@ -2,50 +2,16 @@
|
|
2
2
|
|
3
3
|
RadioManagerClient - the Ruby gem for the RadioManager
|
4
4
|
|
5
|
-
RadioManager
|
6
|
-
|
7
|
-
This SDK is automatically generated by the [Swagger Codegen](https://github.com/swagger-api/swagger-codegen) project:
|
8
|
-
|
9
5
|
- API version: 2.0
|
10
|
-
- Package version: 1.0.
|
11
|
-
- Build package: io.swagger.codegen.languages.RubyClientCodegen
|
6
|
+
- Package version: 1.0.7
|
12
7
|
For more information, please visit [https://pluxbox.com](https://pluxbox.com)
|
13
8
|
|
14
9
|
## Installation
|
15
10
|
|
16
|
-
|
17
|
-
|
18
|
-
To build the Ruby code into a gem:
|
19
|
-
|
20
|
-
```shell
|
21
|
-
gem build radiomanager_client.gemspec
|
22
|
-
```
|
23
|
-
|
24
|
-
Then either install the gem locally:
|
25
|
-
|
26
|
-
```shell
|
27
|
-
gem install ./radiomanager_client-1.0.0.gem
|
28
|
-
```
|
29
|
-
(for development, run `gem install --dev ./radiomanager_client-1.0.0.gem` to install the development dependencies)
|
30
|
-
|
31
|
-
or publish the gem to a gem hosting service, e.g. [RubyGems](https://rubygems.org/).
|
32
|
-
|
33
|
-
Finally add this to the Gemfile:
|
34
|
-
|
35
|
-
gem 'radiomanager_client', '~> 1.0.0'
|
36
|
-
|
37
|
-
### Install from Git
|
38
|
-
|
39
|
-
If the Ruby gem is hosted at a git repository: https://github.com/GIT_USER_ID/GIT_REPO_ID, then add the following in the Gemfile:
|
40
|
-
|
41
|
-
gem 'radiomanager_client', :git => 'https://github.com/GIT_USER_ID/GIT_REPO_ID.git'
|
42
|
-
|
43
|
-
### Include the Ruby code directly
|
44
|
-
|
45
|
-
Include the Ruby code directly using `-I` as follows:
|
11
|
+
To install the ruby package, run the following command:
|
46
12
|
|
47
13
|
```shell
|
48
|
-
|
14
|
+
gem install radiomanager_client
|
49
15
|
```
|
50
16
|
|
51
17
|
## Getting Started
|
@@ -83,7 +49,7 @@ end
|
|
83
49
|
|
84
50
|
## Documentation for API Endpoints
|
85
51
|
|
86
|
-
All URIs are relative to *
|
52
|
+
All URIs are relative to *https://staging.radiomanager.pluxbox.com/api/v2*
|
87
53
|
|
88
54
|
Class | Method | HTTP request | Description
|
89
55
|
------------ | ------------- | ------------- | -------------
|
data/docs/BlockApi.md
CHANGED
data/docs/BroadcastApi.md
CHANGED
data/docs/CampaignApi.md
CHANGED
data/docs/ContactApi.md
CHANGED
data/docs/ExternalMessageApi.md
CHANGED
data/docs/GenreApi.md
CHANGED
data/docs/ItemApi.md
CHANGED
data/docs/ModelTypeApi.md
CHANGED
data/docs/PresenterApi.md
CHANGED
data/docs/ProgramApi.md
CHANGED
data/docs/StringApi.md
CHANGED
data/docs/TagApi.md
CHANGED
data/docs/UserApi.md
CHANGED
data/docs/VisualSlideApi.md
CHANGED
@@ -128,8 +128,8 @@ module RadioManagerClient
|
|
128
128
|
attr_accessor :force_ending_format
|
129
129
|
|
130
130
|
def initialize
|
131
|
-
@scheme = '
|
132
|
-
@host = 'radiomanager.
|
131
|
+
@scheme = 'https'
|
132
|
+
@host = 'staging.radiomanager.pluxbox.com'
|
133
133
|
@base_path = '/api/v2'
|
134
134
|
@api_key = {}
|
135
135
|
@api_key_prefix = {}
|
data/radiomanager_client.gemspec
CHANGED
@@ -17,13 +17,13 @@ require "radiomanager_client/version"
|
|
17
17
|
|
18
18
|
Gem::Specification.new do |s|
|
19
19
|
s.name = "radiomanager_client"
|
20
|
-
s.version = "1.0.
|
20
|
+
s.version = "1.0.7"
|
21
21
|
s.platform = Gem::Platform::RUBY
|
22
22
|
s.authors = ["Pluxbox"]
|
23
23
|
s.email = ["support@pluxbox.com"]
|
24
24
|
s.homepage = "http://pluxbox.com"
|
25
25
|
s.summary = "RadioManager Client"
|
26
|
-
s.description = "RadioManager
|
26
|
+
s.description = "Pluxbox RadioManager Ruby SDK"
|
27
27
|
# TODO uncommnet and update below with a proper license
|
28
28
|
s.license = "MIT"
|
29
29
|
s.required_ruby_version = ">= 1.9"
|
data/spec/configuration_spec.rb
CHANGED
@@ -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("
|
21
|
+
#uri = URI.parse("https://staging.radiomanager.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("
|
31
|
+
#expect(config.base_url).to eq("https://staging.radiomanager.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("
|
38
|
+
#expect(config.base_url).to eq("https://staging.radiomanager.pluxbox.com/api/v2")
|
39
39
|
end
|
40
40
|
end
|
41
41
|
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.
|
4
|
+
version: 1.0.7
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Pluxbox
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2017-07-
|
11
|
+
date: 2017-07-18 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: typhoeus
|
@@ -190,7 +190,7 @@ dependencies:
|
|
190
190
|
- - ">="
|
191
191
|
- !ruby/object:Gem::Version
|
192
192
|
version: 0.2.12
|
193
|
-
description: RadioManager
|
193
|
+
description: Pluxbox RadioManager Ruby SDK
|
194
194
|
email:
|
195
195
|
- support@pluxbox.com
|
196
196
|
executables: []
|
@@ -498,7 +498,6 @@ files:
|
|
498
498
|
- lib/radiomanager_client/models/user_results.rb
|
499
499
|
- lib/radiomanager_client/models/visual_result.rb
|
500
500
|
- lib/radiomanager_client/version.rb
|
501
|
-
- radiomanager_client-1.0.0.gem
|
502
501
|
- radiomanager_client.gemspec
|
503
502
|
- spec/api/block_api_spec.rb
|
504
503
|
- spec/api/broadcast_api_spec.rb
|
Binary file
|