Sha256: bd8d0c53dd3499c7ffd0fe8a9339c04a44268ea6bb0213fbcfab797d2e27b544
Contents?: true
Size: 335 Bytes
Versions: 21
Compression:
Stored size: 335 Bytes
Contents
module PagSeguro class Transaction class Items attr_reader :count def initialize(store, count) @store = store @count = count end def items @store['item'].map do |i| Item.new(i['id'], i['description'], i['quantity'], i['amount']) end end end end end
Version data entries
21 entries across 21 versions & 1 rubygems