hotel_beds 0.6.1 → 0.6.2
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: cd7ca89c96613c5ff93444ac446082c051ab4c75
|
4
|
+
data.tar.gz: 212d402526f959df8ba56120011ef9a1b38f49bb
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0bbb6cd3e5f7e6b80b9d4577c04f9f90fee5f5a9d032a8e09d57c5438bebd5044e2f190afe36fd780ab7bf46539c8f49a12d89940d6105bf429136c01f1807b9
|
7
|
+
data.tar.gz: 0cfe539340a14286ecf63aaf0e2d94e14b617f7bec48b937db3ffa1af4f994758ac8e03fe12e76d1df4e4bb82084d6dbb79e184ee33899bb473545656ec588f7
|
@@ -17,7 +17,8 @@ module HotelBeds
|
|
17
17
|
attribute :price, BigDecimal
|
18
18
|
attribute :number_available, Integer
|
19
19
|
attribute :rates, Hash[Date => BigDecimal]
|
20
|
-
attribute :
|
20
|
+
attribute :cancellation_policies, Array[HotelBeds::Model::CancellationPolicy],
|
21
|
+
default: Array.new
|
21
22
|
attribute :customers, Array[HotelBeds::Model::Customer],
|
22
23
|
default: Array.new
|
23
24
|
|
@@ -21,8 +21,8 @@ module HotelBeds
|
|
21
21
|
attribute :room_type_characteristic,
|
22
22
|
selector: "HotelRoom RoomType", attr: "characteristic"
|
23
23
|
attribute :price, selector: "HotelRoom > Price > Amount"
|
24
|
-
attribute :
|
25
|
-
selector: "HotelRoom CancellationPolicy",
|
24
|
+
attribute :cancellation_policies,
|
25
|
+
selector: "HotelRoom CancellationPolicy", multiple: true,
|
26
26
|
parser: HotelBeds::Parser::CancellationPolicy
|
27
27
|
attribute :rates,
|
28
28
|
selector: "Price PriceList Price", multiple: true,
|
data/lib/hotel_beds/version.rb
CHANGED