Class: RTransmission::Types::Error
- Inherits:
-
RTransmission::Type
- Object
- RTransmission::Type
- RTransmission::Types::Error
- Defined in:
- lib/rtransmission/types/error.rb
Constant Summary collapse
- MAP =
{0 => :ok, 1 => :tracker_warning, 2 => :tracker_error, 3 => :local_error}
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
10 11 12 |
# File 'lib/rtransmission/types/error.rb', line 10 def self.unmap(value) MAP[value] end |