Class: WSDL::OperationBinding::BoundId

Inherits:
Object
  • Object
show all
Defined in:
lib/wsdl/operationBinding.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(name, soapaction) ⇒ BoundId

Returns a new instance of BoundId.



61
62
63
64
# File 'lib/wsdl/operationBinding.rb', line 61

def initialize(name, soapaction)
  @name = name
  @soapaction = soapaction
end

Instance Attribute Details

#nameObject (readonly)

Returns the value of attribute name.



58
59
60
# File 'lib/wsdl/operationBinding.rb', line 58

def name
  @name
end

#soapactionObject (readonly)

Returns the value of attribute soapaction.



59
60
61
# File 'lib/wsdl/operationBinding.rb', line 59

def soapaction
  @soapaction
end

Instance Method Details

#==(rhs) ⇒ Object



66
67
68
# File 'lib/wsdl/operationBinding.rb', line 66

def ==(rhs)
  !rhs.nil? and @name == rhs.name and @soapaction == rhs.soapaction
end

#eql?(rhs) ⇒ Boolean

Returns:

  • (Boolean)


70
71
72
# File 'lib/wsdl/operationBinding.rb', line 70

def eql?(rhs)
  (self == rhs)
end

#hashObject



74
75
76
# File 'lib/wsdl/operationBinding.rb', line 74

def hash
  @name.hash ^ @soapaction.hash
end