tickethub 0.2.17 → 0.2.18

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: fc4b1ae7735876c0a2a4bf3efae57c4e7552983f
4
- data.tar.gz: 9f6dbfbb13e650b094f2a1d46fff1f95392da3a2
3
+ metadata.gz: 875a41bce8481c342e2d313296ce1485422f5e7f
4
+ data.tar.gz: 8621c3097121ca8c4ed46ad0f449a1bb18561b25
5
5
  SHA512:
6
- metadata.gz: bd943c19b3730c0246cc3cc955fbc45945997752f4d739bb326d2d0e9a3119d9a17d37e1b9743213e0a37342725c29439694ffe2fd307b1bf81cc12eaff4aec2
7
- data.tar.gz: deb0a6a9e26a10321f0ced7f35c19736bccfbe98a91efb13b7d5ae074c9f967e38d33c5a0b452dcfd5441f29fafcba1e9911549fd92640bd678e45a673947eff
6
+ metadata.gz: 0fbafe02661bd9aa6af3e42669d3e54158f4fa96d86869cd5c9e8d6b6fbd5e3b6d6f68be1a026013247f43b708094a5b971be7516053a836731ede42825f2459
7
+ data.tar.gz: bbd7695dcaab03aad02d696006212f5df05f61ad2f7e93474034a2cff4094dd3a6a4eab3cd7a1105e731563d3cba716d6027364483bc14fc76566403d1084aab
@@ -57,7 +57,7 @@ module Tickethub
57
57
 
58
58
  def limit(value = nil)
59
59
  if value.nil?
60
- return (@limit || params[:offset] || DEFAULT_LIMIT).to_i
60
+ return (@limit || params[:limit] || DEFAULT_LIMIT).to_i
61
61
  else
62
62
  self.class.new endpoint, @klass,
63
63
  params.merge(limit: value)
@@ -1,3 +1,3 @@
1
1
  module Tickethub
2
- VERSION = '0.2.17'
2
+ VERSION = '0.2.18'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tickethub
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.17
4
+ version: 0.2.18
5
5
  platform: ruby
6
6
  authors:
7
7
  - Oliver Morgan