Sha256: 6db0520780bb0a4de8ec0fbe7db8b0b1f34ac8e8f04e50b2ee45f0969ce65d19

Contents?: true

Size: 309 Bytes

Versions: 1

Compression:

Stored size: 309 Bytes

Contents

module PayoneerCsv

  class Transaction
    attr_reader :description
    attr_reader :amount
    attr_reader :created_at

    def initialize(attributes)
      @created_at = attributes[:created_at]
      @description = attributes[:description].strip
      @amount = attributes[:amount].to_f
    end
  end

end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
payoneer_csv-0.1.0 lib/payoneer_csv/transaction.rb