Sha256: 4bafcab62f35c0536dd7ea905364757091fd996daba688ecfd53af27d8d4c026

Contents?: true

Size: 1.1 KB

Versions: 1

Compression:

Stored size: 1.1 KB

Contents

Welcome to __Instasent Ruby SDK__. This repository contains Instasent's Python SDK and samples for REST API.

## Installation

The easiest way to install the instasent package is either via command line:

```
$ gem install instasent
```
And then execute:

    $ bundle
or including the following in your Gemfile:

```
gem 'instasent'
```

## Example
### Send an SMS
You can check 'examples/send-sms.py' file.
```ruby
require 'instasent'

client = Instasent::Client.new('my-token')

response = client.send_sms('Mi company', '+34666666666', 'test message')

puts response['response_code']
puts response['response_body']
```
## Available functions
```
client.send_sms(sender, to, text)
client.get_sms(page, per_page)
client.get_sms_by_id(message_id)
```
## Documentation
Complete documentation at :
[http://docs.instasent.com/](http://docs.instasent.com/).

# Getting help

If you need help installing or using the library, please contact Instasent Support at support@instasent.com first.
If you've instead found a bug in the library or would like new features added, go ahead and open issues or pull requests against this repo!

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
instasent-0.1.3 README.md