tropo_message 0.0.3 → 0.0.4

Sign up to get free protection for your applications and to get access to all the features.
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.0.3
1
+ 0.0.4
data/lib/tropo_message.rb CHANGED
@@ -20,10 +20,6 @@ module Tropo
20
20
  params["token"] = value
21
21
  end
22
22
 
23
- def action
24
- tropo_parameters["action"]
25
- end
26
-
27
23
  def to
28
24
  params["to"] || tropo_parameters["to"]
29
25
  end
@@ -75,7 +71,7 @@ module Tropo
75
71
  end
76
72
 
77
73
  def outgoing?
78
- tropo_parameters["action"] == "create"
74
+ tropo_session["session"] && tropo_session["session"]["parameters"]
79
75
  end
80
76
 
81
77
  def response_params
@@ -5,7 +5,7 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{tropo_message}
8
- s.version = "0.0.3"
8
+ s.version = "0.0.4"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["David Wilkie"]
metadata CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
5
5
  segments:
6
6
  - 0
7
7
  - 0
8
- - 3
9
- version: 0.0.3
8
+ - 4
9
+ version: 0.0.4
10
10
  platform: ruby
11
11
  authors:
12
12
  - David Wilkie