rightmove_wrangler 0.1.12 → 0.1.13
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/rightmove_wrangler.rb +3 -1
- data/lib/rightmove_wrangler/version.rb +1 -1
- metadata +1 -1
data/lib/rightmove_wrangler.rb
CHANGED
@@ -139,7 +139,7 @@ module RightmoveWrangler
|
|
139
139
|
payload = {
|
140
140
|
row_set: {
|
141
141
|
tag: @options[:app_id],
|
142
|
-
timestamp:
|
142
|
+
timestamp: Time.now.to_i,
|
143
143
|
rows: rows
|
144
144
|
}
|
145
145
|
}
|
@@ -185,6 +185,8 @@ module RightmoveWrangler
|
|
185
185
|
end
|
186
186
|
|
187
187
|
def post!(payload)
|
188
|
+
Thread.current[:output] = "Posting the following data: #{payload.inspect}"
|
189
|
+
|
188
190
|
if @options[:url].nil?
|
189
191
|
Thread.current[:output] = "Missing a URL to post the data to"
|
190
192
|
end
|