Sha256: 77e66be20f81f88dfe0878f82208cbcf117d67eb3e4fb38117da23dc75710c17

Contents?: true

Size: 995 Bytes

Versions: 1

Compression:

Stored size: 995 Bytes

Contents

# Pushover

This gem provides a CLI and an API interface to http://pushover.net.

## Installation

To install:

  % gem install pushover

To use inside of an application, add this to the your gemfile:

  % gem 'pushover'

and run bundle to make it available:

  % bundle

## Usage

## API

```ruby
require 'pushover'
```

### Create a message

```ruby
message = Pushover.create {
  user: '...',
  token: '...',
  message: '...'
}
```

### Send the message

```ruby
  response = message.send
```

### Response

- The response will always include `status` and `request`.
- When set, it will also include `errors` and `receipt`.

```ruby
  response.status
  response.request
```


## Contributing

1. Fork it
2. Switch to development (`git checkout developtment`)
3. Create your feature branch (`git checkout -b my-new-feature`)
4. Commit your changes (`git commit -am 'Added some feature'`)
5. Push to the branch (`git push origin my-new-feature`)
6. Create new Pull Request against `development`

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
pushover-2.0.0 README.md