push
coveralls-ruby
170 of 13217 relevant lines covered (1.29%)
0.01 hits per line
1 |
# frozen_string_literal: true
|
|
2 |
|
|
3 |
# Payments module
|
|
4 |
module Payment; end |
× |
5 |
|
|
6 |
# Generic payment object
|
|
7 |
class Payment::Item |
× |
8 |
attr_reader :klass
|
× |
9 |
|
|
10 |
def initialize(klass, id = nil, *args) |
× |
11 |
@klass = klass
|
× |
12 |
@id = id
|
× |
13 |
@args = args
|
× |
14 |
end
|
× |
15 |
|
|
16 |
def class |
× |
17 |
klass |
× |
18 |
end
|
× |
19 |
|
|
20 |
def payment_mean? |
× |
21 |
false
|
× |
22 |
end
|
× |
23 |
|
|
24 |
def subscription? |
× |
25 |
false
|
× |
26 |
end
|
× |
27 |
|
|
28 |
def order? |
× |
29 |
false
|
× |
30 |
end
|
× |
31 |
|
|
32 |
def retrieve(_id = nil, *_args); end |
× |
33 |
end
|
× |