tourico 0.0.5 → 0.0.6

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.
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- tourico (0.0.5)
4
+ tourico (0.0.6)
5
5
  savon (~> 1.2.0)
6
6
 
7
7
  GEM
@@ -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
@@ -1,3 +1,3 @@
1
1
  module Tourico
2
- VERSION = '0.0.5'
2
+ VERSION = '0.0.6'
3
3
  end
data/lib/tourico.rb CHANGED
@@ -14,7 +14,7 @@ module Tourico
14
14
  yield self
15
15
 
16
16
  Savon.configure do|config|
17
- config.log_level = :error
17
+ config.log = false
18
18
  end
19
19
  end
20
20
 
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.5
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-14 00:00:00.000000000 Z
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: 2243739160266299512
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: 2243739160266299512
109
+ hash: 3502645964669858427
110
110
  requirements: []
111
111
  rubyforge_project:
112
112
  rubygems_version: 1.8.24