Class: Handsoap::Parser::Interface

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(name, operations = []) ⇒ Interface

Returns a new instance of Interface.



12
13
14
15
# File 'lib/handsoap/parser.rb', line 12

def initialize(name, operations = [])
  @name = name
  @operations = operations || []
end

Instance Attribute Details

#nameObject

Returns the value of attribute name.



10
11
12
# File 'lib/handsoap/parser.rb', line 10

def name
  @name
end

#operationsObject

Returns the value of attribute operations.



10
11
12
# File 'lib/handsoap/parser.rb', line 10

def operations
  @operations
end