Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Update README

  • Loading branch information...
commit c910871e9964173886e272cc50145557069edd95 1 parent 830acde
@simonoff authored
Showing with 2 additions and 2 deletions.
  1. +2 −2 README.md
View
4 README.md
@@ -31,7 +31,7 @@ fax = Sipgate::Fax.new
sender = '15198765432' # must be registered as fax device
receiver = '496912345678'
pdf_file = File.read("document.pdf")
-result = fax.send(sender, receiver, pdf_file)
+result = fax.send(receiver, pdf_file, sender)
status = fax.status(result.session_id)
```
@@ -42,7 +42,7 @@ sms = Sipgate::Sms.new
sender = '15198765432' # must be validated in web frontend first
receiver = '4917512345678'
text = "This is a test!" # max. 160 chars
-sms.send(sender, receiver, text)
+sms.send(receiver, text, sender)
```
## Copyrights
Please sign in to comment.
Something went wrong with that request. Please try again.