Class: CiPower::Record
- Inherits:
-
Object
- Object
- CiPower::Record
- Defined in:
- lib/ci_power/record.rb
Direct Known Subclasses
Action, Address, Communication, DebtClaim, DebtorData, DossierData, InstallmentPlan, OpenAppointment, ProcessData
Instance Attribute Summary collapse
-
#address_identification_debtee ⇒ Object
Returns the value of attribute address_identification_debtee.
-
#address_identification_debtor ⇒ Object
Returns the value of attribute address_identification_debtor.
-
#group_no ⇒ Object
Returns the value of attribute group_no.
-
#record_type ⇒ Object
Returns the value of attribute record_type.
Instance Method Summary collapse
- #cip_default_data ⇒ Object
- #fill_up(data, with_line_terminator = true) ⇒ Object
- #line_terminator ⇒ Object
Instance Attribute Details
#address_identification_debtee ⇒ Object
Returns the value of attribute address_identification_debtee.
3 4 5 |
# File 'lib/ci_power/record.rb', line 3 def address_identification_debtee @address_identification_debtee end |
#address_identification_debtor ⇒ Object
Returns the value of attribute address_identification_debtor.
3 4 5 |
# File 'lib/ci_power/record.rb', line 3 def address_identification_debtor @address_identification_debtor end |
#group_no ⇒ Object
Returns the value of attribute group_no.
3 4 5 |
# File 'lib/ci_power/record.rb', line 3 def group_no @group_no end |
#record_type ⇒ Object
Returns the value of attribute record_type.
3 4 5 |
# File 'lib/ci_power/record.rb', line 3 def record_type @record_type end |
Instance Method Details
#cip_default_data ⇒ Object
8 9 10 |
# File 'lib/ci_power/record.rb', line 8 def cip_default_data _fill_up(:record_type => 2, :group_no => 7, :address_identification_debtee => 25, :address_identification_debtor => 25) end |
#fill_up(data, with_line_terminator = true) ⇒ Object
12 13 14 |
# File 'lib/ci_power/record.rb', line 12 def fill_up(data, with_line_terminator = true) _fill_up(data) + (with_line_terminator ? line_terminator : '') end |
#line_terminator ⇒ Object
16 17 18 |
# File 'lib/ci_power/record.rb', line 16 def line_terminator "\n" end |