twilio-twimlbin 0.0.2 → 0.0.3

Sign up to get free protection for your applications and to get access to all the features.
data/Gemfile CHANGED
@@ -1,4 +1,4 @@
1
1
  source "http://rubygems.org"
2
2
 
3
- # Specify your gem's dependencies in fluent-plugin-twilio.gemspec
3
+ # Specify your gem's dependencies in twilio-twimlbin.gemspec
4
4
  gemspec
data/README.md CHANGED
@@ -23,13 +23,19 @@ response = Twilio::TwiML::Response.new do |r|
23
23
  end
24
24
 
25
25
  twiml = Twimlbin.new
26
- url = twiml.create(response.text)
27
- puts url
26
+ twiml.create(response.text)
27
+ puts twiml.external_url # print public url
28
+ puts twiml.private_url # print editable url
28
29
  `````
29
30
 
30
31
  ## TODO
31
32
  Pull requests are very welcome!!
32
33
 
34
+ ## Articles
35
+
36
+ * Twilioのマークアップ言語TwiMLを無料ホスティングするサービス「twimlbin」をRubyから利用する「twilio-twimlbin」を公開しました
37
+ http://y-ken.hatenablog.com/entry/twilio-twimlbin-gem-has-released
38
+
33
39
  ## Copyright
34
40
  Copyright © 2013- Kentaro Yoshida ([@yoshi_ken](https://twitter.com/yoshi_ken))
35
41
 
@@ -1,4 +1,5 @@
1
1
  class Twimlbin
2
+ attr_reader :external_url, :private_url, :token
2
3
 
3
4
  def initialize
4
5
  require 'net/http'
@@ -3,7 +3,7 @@ $:.push File.expand_path("../lib", __FILE__)
3
3
 
4
4
  Gem::Specification.new do |s|
5
5
  s.name = "twilio-twimlbin"
6
- s.version = "0.0.2"
6
+ s.version = "0.0.3"
7
7
  s.authors = ["Kentaro Yoshida"]
8
8
  s.email = ["y.ken.studio@gmail.com"]
9
9
  s.homepage = "https://github.com/y-ken/twimlbin"
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: twilio-twimlbin
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.2
4
+ version: 0.0.3
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2013-05-21 00:00:00.000000000 Z
12
+ date: 2013-07-06 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rake