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.



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

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

Instance Attribute Details

#nameObject (readonly)

Returns the value of attribute name.



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

def name
  @name
end

#soapactionObject (readonly)

Returns the value of attribute soapaction.



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

def soapaction
  @soapaction
end

Instance Method Details

#==(rhs) ⇒ Object



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

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

#eql?(rhs) ⇒ Boolean

Returns:

  • (Boolean)


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

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

#hashObject



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

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