mirror of
https://github.com/LaCasemate/fab-manager.git
synced 2024-12-03 14:24:23 +01:00
25 lines
311 B
Ruby
25 lines
311 B
Ruby
# frozen_string_literal: true
|
|
|
|
# Payments module
|
|
module Payment; end
|
|
|
|
# Generic payment object
|
|
class Payment::Item
|
|
attr_reader :klass
|
|
|
|
def initialize(klass, id = nil)
|
|
@klass = klass
|
|
@id = id
|
|
end
|
|
|
|
def class
|
|
klass
|
|
end
|
|
|
|
def payment_mean?
|
|
false
|
|
end
|
|
|
|
def retrieve(_id = nil); end
|
|
end
|