README.md in phaxio-0.4.0 vs README.md in phaxio-0.4.1
- old
+ new
@@ -1,7 +1,9 @@
# Phaxio
+[![Build Status](https://travis-ci.org/gristmill/phaxio.svg)](https://travis-ci.org/gristmill/phaxio)
+
A Ruby gem for interacting with the [Phaxio API]( https://www.phaxio.com/docs ).
**Note: This gem only runs on Ruby version 1.9.+**
## Installation
@@ -27,14 +29,14 @@
config.api_secret = "12345678910"
end
To send a fax:
- Phaxio.send_fax(to: "0123456789", filename: "test.pdf")
+ Phaxio.send_fax(to: "0123456789", filename: File.new("test.pdf"))
### Currently Supported API Calls
-* send_fax - `Phaxio.send_fax(to: "0123456789", filename: "test.pdf")`
+* send_fax - `Phaxio.send_fax(to: "0123456789", filename: File.new("test.pdf"))`
* test_receive - `Phaxio.test_receive(filename: "test_file.pdf")`
* provision_number - `Phaxio.provision_number(area_code: 802)`
* release_number - `Phaxio.release_number(number: "8021112222")`
* list_numbers - `Phaxio.list_numbers(area_code: 802)`
* get_fax_file - `Phaxio.get_fax_file(id: 123456, type: p)`