Class: ZATCA::UBL::Signing::Object
- Inherits:
-
BaseComponent
- Object
- BaseComponent
- ZATCA::UBL::Signing::Object
- Defined in:
- lib/zatca/ubl/signing/object.rb
Constant Summary
Constants inherited from BaseComponent
BaseComponent::ArrayOfBaseComponentOrNil
Instance Attribute Summary
Attributes inherited from BaseComponent
Instance Method Summary collapse
- #elements ⇒ Object
-
#initialize(signing_time:, cert_digest_value:, cert_issuer_name:, cert_serial_number:) ⇒ Object
constructor
A new instance of Object.
- #name ⇒ Object
Methods inherited from BaseComponent
#[], build, #build_xml, #dig, #find_nested_element_by_path, #generate_xml, #schema, #to_h, #to_xml
Constructor Details
#initialize(signing_time:, cert_digest_value:, cert_issuer_name:, cert_serial_number:) ⇒ Object
Returns a new instance of Object.
2 3 4 5 6 7 8 9 |
# File 'lib/zatca/ubl/signing/object.rb', line 2 def initialize(signing_time:, cert_digest_value:, cert_issuer_name:, cert_serial_number:) super() @signing_time = signing_time @cert_digest_value = cert_digest_value @cert_issuer_name = cert_issuer_name @cert_serial_number = cert_serial_number end |
Instance Method Details
#elements ⇒ Object
15 16 17 18 19 |
# File 'lib/zatca/ubl/signing/object.rb', line 15 def elements [ ZATCA::UBL::Signing::QualifyingProperties.new(signing_time: @signing_time, cert_digest_value: @cert_digest_value, cert_issuer_name: @cert_issuer_name, cert_serial_number: @cert_serial_number) ] end |
#name ⇒ Object
11 12 13 |
# File 'lib/zatca/ubl/signing/object.rb', line 11 def name "ds:Object" end |