hostconnect 0.1.8 → 0.1.9
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/.gitignore +1 -0
- data/CHANGELOG +1 -0
- data/hostconnect.gemspec +1 -0
- data/lib/hostconnect.rb +1 -1
- data/lib/hostconnect/builders/add_service_builder.rb +4 -3
- data/spec/builders/add_service_builder_spec.rb +1 -0
- data/spec/fixtures/requests/add_service_request/hotel_booking.xml +1 -0
- metadata +6 -6
data/.gitignore
CHANGED
data/CHANGELOG
CHANGED
data/hostconnect.gemspec
CHANGED
data/lib/hostconnect.rb
CHANGED
@@ -9,7 +9,7 @@ module HostConnect
|
|
9
9
|
:scu_qty, :room_configs, :email, :pu_time, :pu_remark,
|
10
10
|
:do_time, :do_remark, :remarks, :ud_text1, :ud_text2,
|
11
11
|
:ud_text3, :ud_text4, :ud_text5, :agent_ref,
|
12
|
-
:service_line_notes ].freeze
|
12
|
+
:service_line_notes, :rate_id].freeze
|
13
13
|
super(options)
|
14
14
|
end
|
15
15
|
|
@@ -36,7 +36,8 @@ module HostConnect
|
|
36
36
|
@service_line_notes.each { |note| i << note.to_xml.target! }
|
37
37
|
}
|
38
38
|
end
|
39
|
-
|
39
|
+
|
40
|
+
x.RateId @rate_id
|
40
41
|
x.Opt @opt if @opt
|
41
42
|
x.DateFrom @date_from if @date_from
|
42
43
|
x.SCUqty @scu_qty if @scu_qty
|
@@ -57,4 +58,4 @@ module HostConnect
|
|
57
58
|
x
|
58
59
|
end
|
59
60
|
end
|
60
|
-
end
|
61
|
+
end
|
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: hostconnect
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 9
|
5
5
|
prerelease: false
|
6
6
|
segments:
|
7
7
|
- 0
|
8
8
|
- 1
|
9
|
-
-
|
10
|
-
version: 0.1.
|
9
|
+
- 9
|
10
|
+
version: 0.1.9
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- "Bj\xC3\xB8rn Arild M\xC3\xA6land"
|
@@ -15,7 +15,7 @@ autorequire:
|
|
15
15
|
bindir: bin
|
16
16
|
cert_chain: []
|
17
17
|
|
18
|
-
date:
|
18
|
+
date: 2011-02-18 00:00:00 +01:00
|
19
19
|
default_executable:
|
20
20
|
dependencies:
|
21
21
|
- !ruby/object:Gem::Dependency
|
@@ -204,8 +204,8 @@ files:
|
|
204
204
|
- spec/translation_spec.rb
|
205
205
|
has_rdoc: true
|
206
206
|
homepage: http://github.com/bmaland/hostconnect/
|
207
|
-
licenses:
|
208
|
-
|
207
|
+
licenses:
|
208
|
+
- MIT
|
209
209
|
post_install_message:
|
210
210
|
rdoc_options:
|
211
211
|
- --line-numbers
|