Class: Moxml::Signature::Model::Reference

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(id: nil, uri: nil, type: nil, transforms: nil, digest_method: nil, digest_value: nil) ⇒ Reference

Returns a new instance of Reference.



10
11
12
13
14
15
16
17
18
# File 'lib/moxml/signature/model/reference.rb', line 10

def initialize(id: nil, uri: nil, type: nil, transforms: nil,
               digest_method: nil, digest_value: nil)
  @id = id
  @uri = uri
  @type = type
  @transforms = transforms
  @digest_method = digest_method
  @digest_value = digest_value
end

Instance Attribute Details

#digest_methodObject

Returns the value of attribute digest_method.



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

def digest_method
  @digest_method
end

#digest_valueObject

Returns the value of attribute digest_value.



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

def digest_value
  @digest_value
end

#idObject

Returns the value of attribute id.



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

def id
  @id
end

#transformsObject

Returns the value of attribute transforms.



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

def transforms
  @transforms
end

#typeObject

Returns the value of attribute type.



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

def type
  @type
end

#uriObject

Returns the value of attribute uri.



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

def uri
  @uri
end