Class: Handsoap::Parser::Action

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

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

Returns a new instance of Action.



59
60
61
62
63
# File 'lib/handsoap/parser.rb', line 59

def initialize(name, optional = {})
  @name = name
  @soap_action = optional[:soap_action]
  @location = optional[:location]
end

Instance Attribute Details

#locationObject

Returns the value of attribute location.



57
58
59
# File 'lib/handsoap/parser.rb', line 57

def location
  @location
end

#nameObject

Returns the value of attribute name.



57
58
59
# File 'lib/handsoap/parser.rb', line 57

def name
  @name
end

#soap_actionObject

Returns the value of attribute soap_action.



57
58
59
# File 'lib/handsoap/parser.rb', line 57

def soap_action
  @soap_action
end