Class: Handsoap::Parser::Operation

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

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

Returns a new instance of Operation.



49
50
51
52
53
# File 'lib/handsoap/parser.rb', line 49

def initialize(name, optional = {})
  @name = name
  @input = optional[:input]
  @output = optional[:output]
end

Instance Attribute Details

#inputObject

Returns the value of attribute input.



47
48
49
# File 'lib/handsoap/parser.rb', line 47

def input
  @input
end

#nameObject

Returns the value of attribute name.



47
48
49
# File 'lib/handsoap/parser.rb', line 47

def name
  @name
end

#outputObject

Returns the value of attribute output.



47
48
49
# File 'lib/handsoap/parser.rb', line 47

def output
  @output
end