Class: Handsoap::Parser::Binding

Inherits:
Object
  • Object
show all
Defined in:
lib/handsoap/parser.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(name, optional = {}) ⇒ Binding

Returns a new instance of Binding.



23
24
25
26
27
28
29
30
31
32
# File 'lib/handsoap/parser.rb', line 23

def initialize(name, optional = {})
  @name = name
  @actions = optional[:actions] || []
  @protocol = optional[:protocol]
  @interface = optional[:interface]
  @transport = optional[:transport]
  @style = optional[:style]
  @encoding = optional[:encoding]
  @verb = optional[:verb]
end

Instance Attribute Details

#actionsObject

Returns the value of attribute actions.



21
22
23
# File 'lib/handsoap/parser.rb', line 21

def actions
  @actions
end

#encodingObject

Returns the value of attribute encoding.



21
22
23
# File 'lib/handsoap/parser.rb', line 21

def encoding
  @encoding
end

#interfaceObject

Returns the value of attribute interface.



21
22
23
# File 'lib/handsoap/parser.rb', line 21

def interface
  @interface
end

#nameObject

Returns the value of attribute name.



21
22
23
# File 'lib/handsoap/parser.rb', line 21

def name
  @name
end

#protocolObject

Returns the value of attribute protocol.



21
22
23
# File 'lib/handsoap/parser.rb', line 21

def protocol
  @protocol
end

#styleObject

Returns the value of attribute style.



21
22
23
# File 'lib/handsoap/parser.rb', line 21

def style
  @style
end

#transportObject

Returns the value of attribute transport.



21
22
23
# File 'lib/handsoap/parser.rb', line 21

def transport
  @transport
end

#verbObject

Returns the value of attribute verb.



21
22
23
# File 'lib/handsoap/parser.rb', line 21

def verb
  @verb
end