README.md in radiomanager_client-1.0.1 vs README.md in radiomanager_client-1.0.7

- old
+ new

@@ -1,55 +1,21 @@ # radiomanager_client RadioManagerClient - the Ruby gem for the RadioManager -RadioManager - -This SDK is automatically generated by the [Swagger Codegen](https://github.com/swagger-api/swagger-codegen) project: - - API version: 2.0 -- Package version: 1.0.0 -- Build package: io.swagger.codegen.languages.RubyClientCodegen +- Package version: 1.0.7 For more information, please visit [https://pluxbox.com](https://pluxbox.com) ## Installation -### Build a gem +To install the ruby package, run the following command: -To build the Ruby code into a gem: - ```shell -gem build radiomanager_client.gemspec +gem install radiomanager_client ``` -Then either install the gem locally: - -```shell -gem install ./radiomanager_client-1.0.0.gem -``` -(for development, run `gem install --dev ./radiomanager_client-1.0.0.gem` to install the development dependencies) - -or publish the gem to a gem hosting service, e.g. [RubyGems](https://rubygems.org/). - -Finally add this to the Gemfile: - - gem 'radiomanager_client', '~> 1.0.0' - -### Install from Git - -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: - - gem 'radiomanager_client', :git => 'https://github.com/GIT_USER_ID/GIT_REPO_ID.git' - -### Include the Ruby code directly - -Include the Ruby code directly using `-I` as follows: - -```shell -ruby -Ilib script.rb -``` - ## Getting Started Please follow the [installation](#installation) procedure and then run the following code: ```ruby # Load the gem @@ -81,10 +47,10 @@ ``` ## Documentation for API Endpoints -All URIs are relative to *http://radiomanager.pb/api/v2* +All URIs are relative to *https://staging.radiomanager.pluxbox.com/api/v2* Class | Method | HTTP request | Description ------------ | ------------- | ------------- | ------------- *RadioManagerClient::BlockApi* | [**get_block_by_id**](docs/BlockApi.md#get_block_by_id) | **GET** /blocks/{id} | Get block by id *RadioManagerClient::BlockApi* | [**get_current_block**](docs/BlockApi.md#get_current_block) | **GET** /blocks/current | Get current Block