tickethub 0.2.13 → 0.2.14

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: a239228479598909e1c92c9d1ee74af5ffd2479b
4
- data.tar.gz: 68bfee8af759c1756ddcbfd23b2a7e32853fbd32
3
+ metadata.gz: 30ea047fcd13377239854728069cc360d8a7b4f8
4
+ data.tar.gz: 65775a6b67f2a5274c891c36ad5c20aac9eb5fa2
5
5
  SHA512:
6
- metadata.gz: a0ccdc39b6f899dfb59b9cb50c29705eec8fb2d872b7ef5071ed75832b0ed47abaa7b14af9b9f150fa6bcd025dcae501ed29d5433ffa45f976461589b588db3c
7
- data.tar.gz: eab24701517ef7f64784462526b424a22a53ba862e8933a827259f6679cbb9611a59d2626142536cb56aa85d16035fc997b8c5db397b6a5c6e2eb9e6d847f0f6
6
+ metadata.gz: cf0180050dcc426b31bb5a31411fd368d7c0f9f25a4035a55242b6d049a179048dafd288b7899fb560fd22fc561ec88365ad769da931c80db189e8bc62cf2c40
7
+ data.tar.gz: c8b4a829d688efaea66d560384689b1d483999812dccc5e00367376e6257992407f9976a1f04e593d190b22125ea4b922b0748987da8d49665b63df3f324e739
@@ -0,0 +1,10 @@
1
+ module Tickethub
2
+ class Supplier::Dispute < Resource
3
+ path '/supplier/disputes'
4
+
5
+ attribute :amount, type: :money
6
+
7
+ attribute :created_at, type: :datetime
8
+ attribute :updated_at, type: :datetime
9
+ end
10
+ end
@@ -16,8 +16,6 @@ module Tickethub
16
16
  require_relative 'answer'
17
17
  require_relative 'message'
18
18
 
19
- require_relative '../address'
20
-
21
19
  collection :bookings, Supplier::Booking
22
20
  collection :payments, Supplier::Payment
23
21
  collection :messages, Supplier::Message
@@ -29,8 +27,6 @@ module Tickethub
29
27
  association :app, Supplier::App
30
28
  association :user, Supplier::User
31
29
 
32
- association :address, Tickethub::Address
33
-
34
30
  attribute :total, type: :money
35
31
  attribute :balance, type: :money
36
32
  attribute :currency, type: :currency
@@ -5,9 +5,11 @@ module Tickethub
5
5
  polymorphic 'card'
6
6
 
7
7
  require_relative '../card'
8
+ require_relative '../dispute'
8
9
  require_relative '../../address'
9
10
  require_relative '../charge/gateway'
10
11
 
12
+ association :dispute, Supplier::Dispute
11
13
  association :card, Supplier::Card
12
14
  association :address, Tickethub::Address
13
15
  association :gateway_charge, Supplier::Charge::Service
@@ -20,6 +20,7 @@ module Tickethub
20
20
 
21
21
  attribute :amount, type: :money
22
22
  attribute :refunded, type: :money
23
+ attribute :charges, type: :money
23
24
  attribute :currency, type: :currency
24
25
  attribute :refunded_at, type: :datetime
25
26
  attribute :created_at, type: :datetime
@@ -1,3 +1,3 @@
1
1
  module Tickethub
2
- VERSION = '0.2.13'
2
+ VERSION = '0.2.14'
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.13
4
+ version: 0.2.14
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-02-05 00:00:00.000000000 Z
11
+ date: 2015-02-25 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -121,6 +121,7 @@ files:
121
121
  - lib/tickethub/supplier/charge/service.rb
122
122
  - lib/tickethub/supplier/coupon.rb
123
123
  - lib/tickethub/supplier/customer.rb
124
+ - lib/tickethub/supplier/dispute.rb
124
125
  - lib/tickethub/supplier/extra.rb
125
126
  - lib/tickethub/supplier/fee.rb
126
127
  - lib/tickethub/supplier/import.rb
@@ -176,7 +177,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
176
177
  version: '0'
177
178
  requirements: []
178
179
  rubyforge_project:
179
- rubygems_version: 2.4.5
180
+ rubygems_version: 2.2.1
180
181
  signing_key:
181
182
  specification_version: 4
182
183
  summary: API client for tickethub.io