qst_client 0.3 → 0.4

Sign up to get free protection for your applications and to get access to all the features.
Files changed (2) hide show
  1. data/lib/qst_client.rb +1 -1
  2. 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
@@ -1,12 +1,12 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: qst_client
3
3
  version: !ruby/object:Gem::Version
4
- hash: 13
4
+ hash: 3
5
5
  prerelease: false
6
6
  segments:
7
7
  - 0
8
- - 3
9
- version: "0.3"
8
+ - 4
9
+ version: "0.4"
10
10
  platform: ruby
11
11
  authors:
12
12
  - InsTEDD