Class: Bai2::BaiFile::Transaction
- Inherits:
-
Object
- Object
- Bai2::BaiFile::Transaction
- Extended by:
- AttrReaderFromIvarHash
- Defined in:
- lib/bai2.rb
Instance Method Summary collapse
Methods included from AttrReaderFromIvarHash
Instance Method Details
#credit? ⇒ Boolean
180 181 182 |
# File 'lib/bai2.rb', line 180 def credit? type[:transaction] == :credit end |
#debit? ⇒ Boolean
176 177 178 |
# File 'lib/bai2.rb', line 176 def debit? type[:transaction] == :debit end |