tickethub 0.2.3 → 0.2.4

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: df31ee87250d6ffd07366180ccf68732d02e8aab
4
- data.tar.gz: 6c2c91c9e686308caf957431c7bbb43409582c20
3
+ metadata.gz: 1f6bf40a66782d4aa6788a5ea436554ca6392606
4
+ data.tar.gz: 248f20a58b35833c34ea9bea6acfb51b64f5f68d
5
5
  SHA512:
6
- metadata.gz: 1381294f6fef258d979a8aa3f05a82da3df7ee00d240f621a6babd29bbb82b1a2922bf0ea3461e85d05e24668f5a3ad8160c3f4b1f65a9c8ab2db22c4d5e728f
7
- data.tar.gz: 8c9d215112473e9dd8448c9ffd8b3ede07f5a6b7ef4fe3912afe8a7262adf6003a6d9c1be27d23e991c7bce260e7c35ac5200d06877fb9c98e7732a4f769f95f
6
+ metadata.gz: a562ffd7914429581382c90d3bc4e14f0e720d115a0a3c73514df2effa485bc6edf5232f18c7e1826a0cffa222fd224b2baa83e4e1e295ab7529ed9912de6cdd
7
+ data.tar.gz: e1a2657b83191ff0bfd1a00c5c9a7e0066e73c7a0e0e89b719301311ecde63c60a54ea83f44bd9bbe7837094b2493e8cf1b43187b776f157cc49bdb96e306e05
@@ -40,12 +40,12 @@ module Tickethub
40
40
  attribute :created_at, type: :datetime
41
41
  attribute :updated_at, type: :datetime
42
42
 
43
- def restore
44
- self.load @endpoint[:restore].post
43
+ def restore(params = {})
44
+ self.load @endpoint[:restore].post(params)
45
45
  end
46
46
 
47
- def confirm
48
- self.load @endpoint[:confirm].post
47
+ def confirm(params = {})
48
+ self.load @endpoint[:confirm].post(params)
49
49
  end
50
50
  end
51
51
  end
@@ -1,3 +1,3 @@
1
1
  module Tickethub
2
- VERSION = '0.2.3'
2
+ VERSION = '0.2.4'
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tickethub
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.3
4
+ version: 0.2.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Oliver Morgan
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-01-02 00:00:00.000000000 Z
11
+ date: 2015-01-08 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler