Sha256: f8a1e0fa9d58dbc23c46d67d38ef7bfa703ecff0ab30d6711eed47cb06fdcb7e
Contents?: true
Size: 431 Bytes
Versions: 28
Compression:
Stored size: 431 Bytes
Contents
# frozen_string_literal: true module ErpIntegration # The `ErpIntegration::GiftCard` exposes an uniformed API for interaction with # third-party ERP vendors. class GiftCard < Resource attr_accessor :id, :currency attr_reader :amount, :amount_available def amount=(value) @amount = parse_value(value) end def amount_available=(value) @amount_available = parse_value(value) end end end
Version data entries
28 entries across 28 versions & 1 rubygems