Class: Moxml::Signature::Model::ObjectElement
- Inherits:
-
Object
- Object
- Moxml::Signature::Model::ObjectElement
- Defined in:
- lib/moxml/signature/model/object_element.rb
Instance Attribute Summary collapse
-
#content ⇒ Object
Returns the value of attribute content.
-
#encoding ⇒ Object
Returns the value of attribute encoding.
-
#id ⇒ Object
Returns the value of attribute id.
-
#mime_type ⇒ Object
Returns the value of attribute mime_type.
Instance Method Summary collapse
-
#initialize(id: nil, mime_type: nil, encoding: nil, content: nil) ⇒ ObjectElement
constructor
A new instance of ObjectElement.
Constructor Details
#initialize(id: nil, mime_type: nil, encoding: nil, content: nil) ⇒ ObjectElement
Returns a new instance of ObjectElement.
9 10 11 12 13 14 |
# File 'lib/moxml/signature/model/object_element.rb', line 9 def initialize(id: nil, mime_type: nil, encoding: nil, content: nil) @id = id @mime_type = mime_type @encoding = encoding @content = content end |
Instance Attribute Details
#content ⇒ Object
Returns the value of attribute content.
7 8 9 |
# File 'lib/moxml/signature/model/object_element.rb', line 7 def content @content end |
#encoding ⇒ Object
Returns the value of attribute encoding.
7 8 9 |
# File 'lib/moxml/signature/model/object_element.rb', line 7 def encoding @encoding end |
#id ⇒ Object
Returns the value of attribute id.
7 8 9 |
# File 'lib/moxml/signature/model/object_element.rb', line 7 def id @id end |
#mime_type ⇒ Object
Returns the value of attribute mime_type.
7 8 9 |
# File 'lib/moxml/signature/model/object_element.rb', line 7 def mime_type @mime_type end |