lib/eancom/edifact/segments/rff.rb in eancom-1.6.3 vs lib/eancom/edifact/segments/rff.rb in eancom-2.0.0
- old
+ new
@@ -19,12 +19,18 @@
end
def to_json_hash
{
identifier => {
- reference_identifier: @reference_identifier
- }
+ reference_identifier: @reference_identifier,
+ document_line_identifier: @document_line_identifier
+ },
+ identifier: @identifier
}
+ end
+
+ def group_name
+ 'references'
end
def segment_type
TYPE
end