fassbinder 0.0.13 → 0.0.14
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/fassbinder/response.rb +1 -1
- data/lib/fassbinder/version.rb +1 -1
- metadata +1 -1
data/lib/fassbinder/response.rb
CHANGED
@@ -43,7 +43,7 @@ module Fassbinder
|
|
43
43
|
host = Sucker::Request::HOSTS[@locale]
|
44
44
|
builder.venue = "amazon.#{host.match(/[^.]+$/)}"
|
45
45
|
|
46
|
-
offers = [doc['Offers']['Offer']].flatten
|
46
|
+
offers = [doc['Offers']['Offer']].flatten.compact
|
47
47
|
offers.each { |offer| builder.add_offer(offer) }
|
48
48
|
|
49
49
|
builder.book
|
data/lib/fassbinder/version.rb
CHANGED