Sha256: 2b99e25f96a1e5d3be355d692c8843500e6e449c18739159726d24e917a58e24

Contents?: true

Size: 237 Bytes

Versions: 1

Compression:

Stored size: 237 Bytes

Contents

module PagseguroCatcher
  module Transaction
    
    class Item < Transaction::Body
      
      def initialize(body)
        self.body = body
      end
      
      def amount
        self[:amount].to_f
      end
    end
    
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
pagseguro_catcher-0.0.4 lib/pagseguro_catcher/transaction/item.rb