tourico 0.0.5 → 0.0.6
Sign up to get free protection for your applications and to get access to all the features.
- data/Gemfile.lock +1 -1
- data/lib/tourico/http_service.rb +4 -4
- data/lib/tourico/version.rb +1 -1
- data/lib/tourico.rb +1 -1
- metadata +4 -4
data/Gemfile.lock
CHANGED
data/lib/tourico/http_service.rb
CHANGED
@@ -5,7 +5,7 @@ module Tourico
|
|
5
5
|
|
6
6
|
class << self
|
7
7
|
def make_request(action, args, options = {})
|
8
|
-
|
8
|
+
puts 'Making request to Tourico'
|
9
9
|
client = Savon::Client.new(Tourico.hotel_service_link)
|
10
10
|
|
11
11
|
#client.log_level = :error
|
@@ -29,7 +29,7 @@ module Tourico
|
|
29
29
|
soap.body = args
|
30
30
|
|
31
31
|
end
|
32
|
-
|
32
|
+
puts 'Finished request for Tourico'
|
33
33
|
if response.success?
|
34
34
|
response.to_hash
|
35
35
|
else
|
@@ -38,7 +38,7 @@ module Tourico
|
|
38
38
|
end
|
39
39
|
|
40
40
|
def make_request_reservation_service(action, args, options = {})
|
41
|
-
|
41
|
+
puts 'Making request to Tourico'
|
42
42
|
client = Savon::Client.new(Tourico.hotel_service_link)
|
43
43
|
|
44
44
|
response = client.request :hot, action do
|
@@ -60,7 +60,7 @@ module Tourico
|
|
60
60
|
soap.body = args
|
61
61
|
|
62
62
|
end
|
63
|
-
|
63
|
+
puts 'Finished request for Tourico'
|
64
64
|
response.to_hash
|
65
65
|
|
66
66
|
end
|
data/lib/tourico/version.rb
CHANGED
data/lib/tourico.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: tourico
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.6
|
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: 2014-01-
|
12
|
+
date: 2014-01-15 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: rake
|
@@ -97,7 +97,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
97
97
|
version: '0'
|
98
98
|
segments:
|
99
99
|
- 0
|
100
|
-
hash:
|
100
|
+
hash: 3502645964669858427
|
101
101
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
102
102
|
none: false
|
103
103
|
requirements:
|
@@ -106,7 +106,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
106
106
|
version: '0'
|
107
107
|
segments:
|
108
108
|
- 0
|
109
|
-
hash:
|
109
|
+
hash: 3502645964669858427
|
110
110
|
requirements: []
|
111
111
|
rubyforge_project:
|
112
112
|
rubygems_version: 1.8.24
|