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

- (Binding) initialize(name, optional = {})

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

- (Object) actions

Returns the value of attribute actions



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

def actions
  @actions
end

- (Object) encoding

Returns the value of attribute encoding



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

def encoding
  @encoding
end

- (Object) interface

Returns the value of attribute interface



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

def interface
  @interface
end

- (Object) name

Returns the value of attribute name



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

def name
  @name
end

- (Object) protocol

Returns the value of attribute protocol



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

def protocol
  @protocol
end

- (Object) style

Returns the value of attribute style



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

def style
  @style
end

- (Object) transport

Returns the value of attribute transport



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

def transport
  @transport
end

- (Object) verb

Returns the value of attribute verb



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

def verb
  @verb
end