class ISO8583::BMP
Internal class used to tie together name, bitmap number, field en/decoder and the value of the corresponding field
Attributes
bmp[RW]
field[RW]
name[RW]
value[RW]
Public Class Methods
new(bmp, name, field)
click to toggle source
# File lib/iso8583/message.rb, line 446 def initialize(bmp, name, field) @bmp = bmp @name = name @field = field end
Public Instance Methods
encode()
click to toggle source
# File lib/iso8583/message.rb, line 452 def encode field.encode(value) end