README.md in smsapi-client-0.3.1 vs README.md in smsapi-client-1.0.0
- old
+ new
@@ -5,31 +5,31 @@
## Installation
Add this line to your application's Gemfile:
```ruby
-gem 'smsapi-client', '~> 0.3'
+gem 'smsapi-client', '~> 1.0'
```
And then execute:
$ bundle
Or install it yourself as:
- $ gem install smsapi-client -v '~> 0.3'
+ $ gem install smsapi-client -v '~> 1.0'
## Usage
-Be sure you have a username and a password. You can obtain your credentials on [SMSAPI.pl](http://smsapi.pl)
+Be sure you have a token. You can obtain it on [SMSAPI.pl](http://smsapi.pl)
```ruby
# Include the library
-require 'smsapi/smsapi'
+require 'smsapi'
# Create the client
-client = Smsapi::Client.new('username', 'password')
+client = Smsapi::Client.new('your_secret_token')
# Get credits (account details)
credits = client.credits
credits.balance # => 2.6600
credits.pro_sms_limit # => 16