Class: Moxml::Signature::Model::ObjectElement

Inherits:
Object
  • Object
show all
Defined in:
lib/moxml/signature/model/object_element.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#contentObject

Returns the value of attribute content.



7
8
9
# File 'lib/moxml/signature/model/object_element.rb', line 7

def content
  @content
end

#encodingObject

Returns the value of attribute encoding.



7
8
9
# File 'lib/moxml/signature/model/object_element.rb', line 7

def encoding
  @encoding
end

#idObject

Returns the value of attribute id.



7
8
9
# File 'lib/moxml/signature/model/object_element.rb', line 7

def id
  @id
end

#mime_typeObject

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