Sha256: 8f3e73ccf9b69388dd3c85c7c0a2ec94bef6c01608c2b9f136e9a73a67980d83
Contents?: true
Size: 508 Bytes
Versions: 5
Compression:
Stored size: 508 Bytes
Contents
module PagseguroCatcher module Transaction class Amount < Transaction::Body def initialize(body) self.body = body end def gross self[:grossAmount].to_f end def discount self[:discountAmount].to_f end def fee self[:feeAmount].to_f end def net self[:netAmount].to_f end def extra self[:extraAmount].to_f end end end end
Version data entries
5 entries across 5 versions & 1 rubygems