class WsdlMapper::SvcDesc::Wsdl11::Binding
Attributes
style[RW]
transport[RW]
type[RW]
type_name[RW]
Public Class Methods
new(name)
click to toggle source
Calls superclass method
WsdlMapper::SvcDesc::Wsdl11::Base::new
# File lib/wsdl_mapper/svc_desc/wsdl11/binding.rb, line 114 def initialize(name) super name @operations = WsdlMapper::Dom::Directory.new do |_| [] end end
Public Instance Methods
add_operation(operation)
click to toggle source
# File lib/wsdl_mapper/svc_desc/wsdl11/binding.rb, line 126 def add_operation(operation) @operations[operation.name] << operation end
document?()
click to toggle source
# File lib/wsdl_mapper/svc_desc/wsdl11/binding.rb, line 142 def document? !rpc? end
each_operation(&block)
click to toggle source
# File lib/wsdl_mapper/svc_desc/wsdl11/binding.rb, line 122 def each_operation(&block) @operations.each_value.to_a.flatten.each(&block) end
get_operation(name)
click to toggle source
# File lib/wsdl_mapper/svc_desc/wsdl11/binding.rb, line 134 def get_operation(name) @operations[name].first end
get_operations(name)
click to toggle source
# File lib/wsdl_mapper/svc_desc/wsdl11/binding.rb, line 130 def get_operations(name) @operations[name] end
rpc?()
click to toggle source
# File lib/wsdl_mapper/svc_desc/wsdl11/binding.rb, line 138 def rpc? @style == 'rpc' end