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
174 175 176 |
# File 'lib/bai2.rb', line 174 def credit? type[:transaction] == :credit end |
#debit? ⇒ Boolean
170 171 172 |
# File 'lib/bai2.rb', line 170 def debit? type[:transaction] == :debit end |