Sha256: 84306dab1f0236d1618a4250f619f04cf3ae724b3ac465d99d7d66658abfe02e

Contents?: true

Size: 1.34 KB

Versions: 2

Compression:

Stored size: 1.34 KB

Contents

---
title: PureCloud Ruby Gem
---

PureCloud - the Ruby gem for the PureCloud API

PureCloud API

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

- API version: v1
- Package version: 0.36.1
- Build date: 2016-04-18T20:39:52.723Z

For more information, please visit [http://www.inin.com](http://www.inin.com)

## Installation

### from rubygems.org

    gem 'purecloud', '~> 0.36.1'

### 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 'purecloud', :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 'purecloud'

# 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_interactionstats_alerts_alert_id(alert_id)
rescue PureCloud::ApiError => e
  puts "Exception when calling AlertingApi->delete_interactionstats_alerts_alert_id: #{e}"
end

~~~

Version data entries

2 entries across 1 versions & 1 rubygems

Version Path
purecloud-0.36.1 README.md
purecloud-0.36.1 doc_out/index.html.md