README.md in pwush-0.2.0 vs README.md in pwush-0.3.0
- old
+ new
@@ -10,11 +10,11 @@
## Installation
Add this line to your application's Gemfile:
```ruby
-gem 'pwush', '~> 0.1.0'
+gem 'pwush', '~> 0.2.0'
```
And then execute:
$ bundle
@@ -28,9 +28,13 @@
### Setup pwush client
```ruby
MyPW = Pwush.new(auth: 'AUTH_KEY', app: 'APP_CODE', timeout: { connect: 5, read: 10, write: 2 })
```
### Push message
+```ruby
+MyPW.create_message(content: 'Hello, there!')
+```
+### Using built-in struct
```ruby
first_message = Pwush::Message.new(
content: { en: 'Hello' },
send_date: '2018-04-06 23:00',
timezone: 'Europe/London',