Class: OrangeData::Correction
- Defined in:
- lib/orange_data/receipt.rb
Overview
Correction
Instance Attribute Summary
Attributes inherited from Document
#callback_url, #content, #group, #id, #inn, #key_name
Instance Method Summary collapse
-
#initialize(id: SecureRandom.uuid, inn:, group: nil, key_name: nil, content: nil, callback_url: 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, callback_url: nil) ⇒ Correction
Returns a new instance of Correction.
232 233 234 235 |
# File 'lib/orange_data/receipt.rb', line 232 def initialize(id:SecureRandom.uuid, inn:, group:nil, key_name:nil, content:nil, callback_url: nil) @content = CorrectionContent.new(content || {}) super end |