Class: OrangeData::Receipt
- Defined in:
- lib/orange_data/receipt.rb
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) ⇒ Receipt
constructor
A new instance of Receipt.
Methods inherited from Document
Constructor Details
#initialize(id: SecureRandom.uuid, inn:, group: nil, key_name: nil, content: nil, callback_url: nil) ⇒ Receipt
Returns a new instance of Receipt.
55 56 57 58 |
# File 'lib/orange_data/receipt.rb', line 55 def initialize(id:SecureRandom.uuid, inn:, group:nil, key_name:nil, content:nil, callback_url: nil) @content = ReceiptContent.new(content || {}) super end |