Sha256: 1e23e83167ddcfa01926fb8b984e798b97d48b06d91267bd2ce221b65bab015e

Contents?: true

Size: 1.56 KB

Versions: 1

Compression:

Stored size: 1.56 KB

Contents

---
title: PureCloud Ruby Gem
---

PureCloud - the Ruby gem for the PureCloud Platform API

With the PureCloud Platform API, you can control all aspects of your PureCloud environment. With the APIs you can access the system configuration, manage conversations and more.

This SDK is automatically generated by the [Swagger Codegen](https://github.com/swagger-api/swagger-codegen) project:

- API version: v2
- Package version: 2.0.6
- Build date: 2017-04-04T09:37:51.893-06:00

For more information, please visit [https://developer.mypurecloud.com](https://developer.mypurecloud.com)

## Installation

### from rubygems.org

    gem 'purecloudplatformclientv2', '~> 2.0.6'

### Install from Git

If the Ruby gem is hosted at a git repository: https://github.com/mypurecloud/purecloud_api_sdk_ruby, then add the following in the Gemfile:

    gem 'purecloudplatformclientv2', :git => 'https://github.com/mypurecloud/purecloud_api_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 a heart beat alert
  api_instance.delete_alerting_heartbeat_alert(alert_id)
rescue PureCloud::ApiError => e
  puts "Exception when calling AlertingApi->delete_alerting_heartbeat_alert: #{e}"
end

~~~

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
purecloudplatformclientv2-2.0.6 README.md