Class: WsdlMapper::Dom::Validator::Error

Inherits:
Object
  • Object
show all
Defined in:
lib/wsdl_mapper/dom/validator.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(element, msg) ⇒ Error

Returns a new instance of Error.



10
11
12
13
# File 'lib/wsdl_mapper/dom/validator.rb', line 10

def initialize(element, msg)
  @element = element
  @msg = msg
end

Instance Attribute Details

#elementObject (readonly)

Returns the value of attribute element.



8
9
10
# File 'lib/wsdl_mapper/dom/validator.rb', line 8

def element
  @element
end

#msgObject (readonly)

Returns the value of attribute msg.



8
9
10
# File 'lib/wsdl_mapper/dom/validator.rb', line 8

def msg
  @msg
end