Class: OrangeData::Correction
- Defined in:
- lib/orange_data/receipt.rb
Overview
Correction
Instance Attribute Summary
Attributes inherited from Document
#content, #group, #id, #inn, #key_name
Instance Method Summary collapse
-
#initialize(id: SecureRandom.uuid, inn:, group: nil, key_name: nil, content: nil) ⇒ Correction
constructor
A new instance of Correction.
Methods inherited from Document
Constructor Details
#initialize(id: SecureRandom.uuid, inn:, group: nil, key_name: nil, content: nil) ⇒ Correction
Returns a new instance of Correction.
210 211 212 213 |
# File 'lib/orange_data/receipt.rb', line 210 def initialize(id:SecureRandom.uuid, inn:, group:nil, key_name:nil, content:nil) @content = CorrectionContent.new(content || {}) super end |