tickethub 0.3.29 → 0.3.30

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: 89df649c074b050c70d884c9cae94f103e92c5ff
4
- data.tar.gz: 8fa5e12753c0cae26378fb90e1687beb1f9de6c5
3
+ metadata.gz: 28513ad4d64c4b5a963c448af58969545ec4c195
4
+ data.tar.gz: a345587d2fdd077a6bd18c952d3557b5e28abcea
5
5
  SHA512:
6
- metadata.gz: 492d3a5e95de440daf1ffb2cf55ee2e9bdeecd800f203f62d6efcf76a78ad2457239834ff3da769a30ce5a79e969a930239a7a1a6acb6c94482a0bec50185c80
7
- data.tar.gz: 85b529eb87e3f6257d859928a6ea96a71a1f568cafc0adc18bd6804471795b5934a200cd6d1296ff29e67d188c0b24f0d94c36a3569ceaca8f61b5dc6905f60e
6
+ metadata.gz: 3bfbe048e2d428b494a925cc710ada39370bc9f8fb2f262c0ecb4db33bf4869c9f058ca51af6d86b428ca12cb964bc208560e0d7673622d6bd2ac7f9a49a7c36
7
+ data.tar.gz: 96c808bbcc1207ba2474cb64f12dfbae3d65e7d5dedadfc71131fa2edec8c3e2eedcc4f3cdf07492cbc521868ca53cc0c1f7c852b52dbdbf1f6ebcebebe7916d
@@ -12,5 +12,9 @@ module Tickethub
12
12
 
13
13
  attribute :starts_on, type: :date
14
14
  attribute :ends_on, type: :date
15
+
16
+ def duplicate(params = {})
17
+ self.class.call @endpoint, @endpoint[:duplicate].post(params)
18
+ end
15
19
  end
16
20
  end
@@ -1,3 +1,3 @@
1
1
  module Tickethub
2
- VERSION = '0.3.29'
2
+ VERSION = '0.3.30'
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.3.29
4
+ version: 0.3.30
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-06-17 00:00:00.000000000 Z
11
+ date: 2015-07-14 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler