tickethub 0.3.1 → 0.3.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.
- checksums.yaml +4 -4
- data/lib/tickethub/job.rb +14 -0
- data/lib/tickethub/supplier/payment.rb +1 -0
- data/lib/tickethub/version.rb +1 -1
- metadata +3 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 51bc3ee1de9cb218f1d10e33b86df5a7d2772f8e
|
|
4
|
+
data.tar.gz: 1477a2468a19c392207e0c495d633118d6e03b5f
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 30b89b0424dbb8c123b96b4a6e5347adc4a84efbf1a8a310f5d825db3c2be7f3544932728f2a93794db6ee65f87a30d749488beb10d34173f74800d06383e357
|
|
7
|
+
data.tar.gz: 7d2dace64b93df022465bc74f366da998d3a9fad1202779075f26d022f3586b46e05af34c8a1d13635397edea7a57ad465665181331ba82cd17f0ce45cfdcafd
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
module Tickethub
|
|
2
|
+
class Job < Resource
|
|
3
|
+
path '/jobs'
|
|
4
|
+
|
|
5
|
+
attribute :completed_at, type: :datetime
|
|
6
|
+
attribute :created_at, type: :datetime
|
|
7
|
+
attribute :updated_at, type: :datetime
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
def self.[](id)
|
|
11
|
+
self.load Tickethub.endpoint[path, id]
|
|
12
|
+
end
|
|
13
|
+
end
|
|
14
|
+
end
|
|
@@ -22,6 +22,7 @@ module Tickethub
|
|
|
22
22
|
attribute :refunded, type: :money
|
|
23
23
|
attribute :currency, type: :currency
|
|
24
24
|
attribute :refunded_at, type: :datetime
|
|
25
|
+
attribute :confirmed_at, type: :datetime
|
|
25
26
|
attribute :created_at, type: :datetime
|
|
26
27
|
attribute :updated_at, type: :datetime
|
|
27
28
|
|
data/lib/tickethub/version.rb
CHANGED
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.
|
|
4
|
+
version: 0.3.2
|
|
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-03-
|
|
11
|
+
date: 2015-03-20 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: bundler
|
|
@@ -104,6 +104,7 @@ files:
|
|
|
104
104
|
- lib/tickethub/formats/form_format.rb
|
|
105
105
|
- lib/tickethub/formats/json_format.rb
|
|
106
106
|
- lib/tickethub/helpers.rb
|
|
107
|
+
- lib/tickethub/job.rb
|
|
107
108
|
- lib/tickethub/request.rb
|
|
108
109
|
- lib/tickethub/resource.rb
|
|
109
110
|
- lib/tickethub/response.rb
|