qst_client 0.3 → 0.4
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/qst_client.rb +1 -1
- metadata +3 -3
data/lib/qst_client.rb
CHANGED
@@ -35,7 +35,7 @@ class QstClient
|
|
35
35
|
def get_last_id
|
36
36
|
response = self.class.head("#{@url}/incoming", :basic_auth => @auth)
|
37
37
|
raise QstClient::Exception.new response unless (200 ... 400).include? response.code
|
38
|
-
response['etag']
|
38
|
+
response.headers['etag']
|
39
39
|
end
|
40
40
|
|
41
41
|
# Get messages from the server.
|
metadata
CHANGED