Class: RTransmission::Types::Peer

Inherits:
RTransmission::Type show all
Defined in:
lib/rtransmission/types/peer.rb

Class Method Summary collapse

Methods inherited from RTransmission::Type

attribute, #initialize, map, type_to_class

Constructor Details

This class inherits a constructor from RTransmission::Type

Class Method Details

.unmap(value) ⇒ Object



25
26
27
# File 'lib/rtransmission/types/peer.rb', line 25

def self.unmap(value)
  RTransmission::Types::Peer.new(value)
end