verboice 0.5.0 → 0.5.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (2) hide show
  1. data/lib/verboice.rb +2 -0
  2. metadata +7 -17
data/lib/verboice.rb CHANGED
@@ -35,6 +35,7 @@ class Verboice
35
35
 
36
36
  args[:not_before] = options[:not_before].iso8601 if options[:not_before]
37
37
  args[:queue] = options[:queue] if options[:queue]
38
+ args[:project_id] = options[:project_id] if options[:project_id]
38
39
 
39
40
  if options[:flow]
40
41
  post "/api/call?#{self.class.to_query args}", options[:flow] do |response, error|
@@ -43,6 +44,7 @@ class Verboice
43
44
  end
44
45
  else
45
46
  args[:callback_url] = options[:callback_url] if options[:callback_url]
47
+ args[:call_flow_id] = options[:call_flow_id] if options[:call_flow_id]
46
48
  get_json "/api/call?#{self.class.to_query args}"
47
49
  end
48
50
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: verboice
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.0
4
+ version: 0.5.1
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,11 +9,11 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2011-11-24 00:00:00.000000000 Z
12
+ date: 2012-07-13 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rest-client
16
- requirement: !ruby/object:Gem::Requirement
16
+ requirement: &70192743416520 !ruby/object:Gem::Requirement
17
17
  none: false
18
18
  requirements:
19
19
  - - ! '>='
@@ -21,15 +21,10 @@ dependencies:
21
21
  version: '0'
22
22
  type: :runtime
23
23
  prerelease: false
24
- version_requirements: !ruby/object:Gem::Requirement
25
- none: false
26
- requirements:
27
- - - ! '>='
28
- - !ruby/object:Gem::Version
29
- version: '0'
24
+ version_requirements: *70192743416520
30
25
  - !ruby/object:Gem::Dependency
31
26
  name: json
32
- requirement: !ruby/object:Gem::Requirement
27
+ requirement: &70192743415540 !ruby/object:Gem::Requirement
33
28
  none: false
34
29
  requirements:
35
30
  - - ! '>='
@@ -37,12 +32,7 @@ dependencies:
37
32
  version: '0'
38
33
  type: :runtime
39
34
  prerelease: false
40
- version_requirements: !ruby/object:Gem::Requirement
41
- none: false
42
- requirements:
43
- - - ! '>='
44
- - !ruby/object:Gem::Version
45
- version: '0'
35
+ version_requirements: *70192743415540
46
36
  description: Access the Verboice API in ruby.
47
37
  email: aromero@manas.com.ar
48
38
  executables: []
@@ -71,7 +61,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
71
61
  version: '0'
72
62
  requirements: []
73
63
  rubyforge_project:
74
- rubygems_version: 1.8.21
64
+ rubygems_version: 1.8.11
75
65
  signing_key:
76
66
  specification_version: 3
77
67
  summary: Access the Verboice API in ruby