twilio-twimlbin

Overview

Twimlbin ruby wrapper class.
You can use twimlbin.com to host twilio markup language without your own server.

Installation

$ sudo gem install twilio-twimlbin

Usage

# -*- encoding: utf-8 -*-
require 'twilio-twimlbin'
require 'twilio-ruby'

response = Twilio::TwiML::Response.new do |r|
  r.Say 'Hello World', :voice => 'woman', :language => 'ja-jp'
end

twiml = Twimlbin.new
twiml.create(response.text)
puts twiml.external_url # print public url
puts twiml.private_url # print editable url

TODO

Pull requests are very welcome!!

Articles

Copyright © 2013- Kentaro Yoshida (@yoshi_ken)

License

Apache License, Version 2.0