gatling_gun 0.0.1 → 0.0.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
data/lib/gatling_gun.rb CHANGED
@@ -8,7 +8,7 @@ require "gatling_gun/api_call"
8
8
  require "gatling_gun/response"
9
9
 
10
10
  class GatlingGun
11
- VERSION = "0.0.1"
11
+ VERSION = "0.0.2"
12
12
 
13
13
  def initialize(api_user, api_key)
14
14
  @api_user = api_user
@@ -45,6 +45,10 @@ class GatlingGun
45
45
  end
46
46
  end
47
47
 
48
+ def empty?
49
+ @data.empty?
50
+ end
51
+
48
52
  #######
49
53
  private
50
54
  #######
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: gatling_gun
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.1
4
+ version: 0.0.2
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2011-09-18 00:00:00.000000000Z
12
+ date: 2011-09-20 00:00:00.000000000Z
13
13
  dependencies: []
14
14
  description: A library for working with SendGrid's Newsletter API. The code is intended
15
15
  for managing and sending newletters.