Sha256: e6ef920825dbf2a24b020e607cceecc246466cd301d629579c8f4272e76c886c

Contents?: true

Size: 1.47 KB

Versions: 1

Compression:

Stored size: 1.47 KB

Contents

---
title: PureCloud Ruby Gem
---
![](http://ruby-gem-downloads-badge.herokuapp.com/purecloudplatformclientv2?label=22.0.0)

Documentation can be found at [https://developer.mypurecloud.com/api/rest/client-libraries/ruby/](https://developer.mypurecloud.com/api/rest/client-libraries/ruby/)

## Installation

### from rubygems.org

~~~ ruby
gem install 'purecloudplatformclientv2', '~> 22.0.0'
~~~

### Install from Git

~~~ ruby
gem install 'purecloudplatformclientv2', :git => 'https://github.com/MyPureCloud/platform-client-sdk-ruby.git'
~~~

## Getting Started

Please follow the [installation](#installation) procedure and then run the following code:

~~~ ruby
# Load the gem
require 'purecloudplatformclientv2'

# Setup authorization
PureCloud.configure do |config|
  # Configure OAuth2 access token for authorization: PureCloud Auth
  config.access_token = 'YOUR ACCESS TOKEN'
end

api_instance = PureCloud::AlertingApi.new

alert_id = "alert_id_example" # String | Alert ID


begin
  #Delete an interaction stats alert
  api_instance.delete_alerting_interactionstats_alert(alert_id)
rescue PureCloud::ApiError => e
  puts "Exception when calling AlertingApi->delete_alerting_interactionstats_alert: #{e}"
end

~~~

## SDK Source Code Generation

The SDK is automatically regenerated and published from the API's definition after each API release. For more information on the build process, see the [platform-client-sdk-common](https://github.com/MyPureCloud/platform-client-sdk-common) project.

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
purecloudplatformclientv2-22.0.0 README.md