README.md in phaxio-0.3.0 vs README.md in phaxio-0.3.1
- old
+ new
@@ -37,9 +37,21 @@
* test_receive - `Phaxio.test_receive(filename: "test_file.pdf")`
* get_fax_status - `Phaxio.get_fax_status(id: "123456")`
* cancel_fax - `Phaxio.cancel_fax(id: "123456")`
* get_account_status - `Phaxio.get_account_status`
+### Example
+
+ require 'phaxio'
+
+ Phaxio.config do |config|
+ config.api_key = "your_key"
+ config.api_secret = "your_secret"
+ end
+
+ @fax = Phaxio.send_fax(to: '15555555555', string_data: "hello world")
+ Phaxio.get_fax_status(id: @fax["faxId"])
+
## Contributing
1. Fork it
2. Create your feature branch (`git checkout -b my-new-feature`)
3. Commit your changes (`git commit -am 'Added some feature'`)