plivo 0.2.1 → 0.2.2

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.
Files changed (2) hide show
  1. data/lib/plivo.rb +2 -2
  2. metadata +3 -3
@@ -681,7 +681,7 @@ end
681
681
 
682
682
 
683
683
  class PreAnswer < Element
684
- @nestables = ['Play', 'Speak', 'GetDigits', 'Wait', 'Redirect']
684
+ @nestables = ['Play', 'Speak', 'GetDigits', 'Wait', 'Redirect', 'Message']
685
685
  @valid_attributes = []
686
686
 
687
687
  def initialize(attributes={})
@@ -692,7 +692,7 @@ end
692
692
 
693
693
  class Message < Element
694
694
  @nestables = []
695
- @valid_attributes = ['src', 'dst', 'type']
695
+ @valid_attributes = ['src', 'dst', 'type', 'callbackUrl', 'callbackMethod']
696
696
 
697
697
  def initialize(body, attributes={})
698
698
  if not body
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: plivo
3
3
  version: !ruby/object:Gem::Version
4
- hash: 21
4
+ hash: 19
5
5
  prerelease: false
6
6
  segments:
7
7
  - 0
8
8
  - 2
9
- - 1
10
- version: 0.2.1
9
+ - 2
10
+ version: 0.2.2
11
11
  platform: ruby
12
12
  authors:
13
13
  - Plivo Inc