Class: DirectoriesInterface::Communication

Inherits:
Object
  • Object
show all
Defined in:
lib/directories_interface/communication.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#numberObject

Returns the value of attribute number.



4
5
6
# File 'lib/directories_interface/communication.rb', line 4

def number
  @number
end

#typeObject

Returns the value of attribute type.



4
5
6
# File 'lib/directories_interface/communication.rb', line 4

def type
  @type
end

Instance Method Details

#to_sObject



6
7
8
# File 'lib/directories_interface/communication.rb', line 6

def to_s
  "type => #{type}, number => #{number}"
end