Skip to content

Commit

Permalink
update docs
Browse files Browse the repository at this point in the history
  • Loading branch information
grokify committed Feb 14, 2016
1 parent 4ad871f commit d3b9477
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions docs/usage/messages/Fax-Messages.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,20 +21,20 @@ client = RingCentralSdk.new(
client.authorize_password('myUsername', 'myExtension', 'myPassword')

# Simple text message
# Cover sheet "To" value defaults to Address Book Contact firstName + lastName
response = client.messages.fax.create(
from: '+16505551212',
to: '+14155551212',
# Cover page "To" value defaults to Address Book Contact firstName + lastName
coverPageText: 'Check this out!',
text: 'Hi there!'
)

# Filling out Cover Page To field
# Cover sheet "To" value set to `to.name` attribute
response = client.messages.fax.create(
from: '+16505551212',
to: {
phoneNumber: '+14155551212'
name: 'John Doe' # Cover page "To" value
name: 'John Doe'
},
text: 'Hi there!'
)
Expand Down

0 comments on commit d3b9477

Please sign in to comment.