wangiry 0.0.2 → 0.0.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: ebefb21095ef3844458c1661c2ccc8a644e0a02c
4
- data.tar.gz: 83c43c70f803ea23f4c25a92e3398cf20404833f
3
+ metadata.gz: a63d685142f25247dba4314a2cc4328e1abeb83b
4
+ data.tar.gz: ff8187e94fc31c23e3bf14ccc747b168b4f43764
5
5
  SHA512:
6
- metadata.gz: f5205d0b2408e9b8bbe12e89afa08ffe4d5f95fc2ddb549955662f83b7af80de78d32ef1efe9fa9e5120f7b7bf124ad6ef834d534beedf1723464c432ff77abd
7
- data.tar.gz: 2f3b018c5d4cafce405a9ab1ba0dc5835866bcd3d39987c22db7664f5ff6e6dca73033b0fbae166b8af54b7e111c2e85be414205b4fdfdeee8d3aeaf4593da9a
6
+ metadata.gz: 001dc9584dd050a16502d81b2017e482be1d01b407064e537088bdf5484f1401e8e07b81f545a7441f5ce61c96b1468c51f3c32acab290b94ab2e0754015569e
7
+ data.tar.gz: 44eceb2a36f47b782854df1866a0ce25c7d579e912ffbabdd69cd44ac0b395887362f09fe07c03a53593a04747c83393f2b2f509e371b2c0be16bf3df0917caf
@@ -1,3 +1,3 @@
1
1
  module Wangiry
2
- VERSION = "0.0.2"
2
+ VERSION = "0.0.3"
3
3
  end
data/lib/wangiry.rb CHANGED
@@ -7,7 +7,8 @@ module Wangiry
7
7
 
8
8
  client = Twilio::REST::Client.new(account_sid, auth_token)
9
9
  account = client.account
10
- call = account.calls.create({:from => from_number, :to => to_number, :url => url})
10
+ #calling #{calling_time} sec
11
+ call = account.calls.create({:from => from_number, :to => to_number, :url => url, :timeout => calling_time})
11
12
  #cancel if over calling_time
12
13
  call.tap {|t| sleep(calling_time)}.cancel
13
14
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: wangiry
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.2
4
+ version: 0.0.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - bash0C7
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2013-04-20 00:00:00.000000000 Z
11
+ date: 2013-04-22 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: twilio-ruby