Class: Majoron::AntHill::SMPP::NetworkErrorCode
- Inherits:
-
Object
- Object
- Majoron::AntHill::SMPP::NetworkErrorCode
- Defined in:
- lib/smpp_structures.rb
Overview
Class describe SMPP network error code
Instance Attribute Summary collapse
-
#error_code ⇒ Object
Returns the value of attribute error_code.
-
#network_code ⇒ Object
Public accessors.
Instance Method Summary collapse
-
#initialize(network_code, error_code) ⇒ NetworkErrorCode
constructor
Constructor.
Constructor Details
#initialize(network_code, error_code) ⇒ NetworkErrorCode
Constructor.
86 87 88 89 |
# File 'lib/smpp_structures.rb', line 86 def initialize(network_code, error_code) @network_code = network_code @error_code = error_code end |
Instance Attribute Details
#error_code ⇒ Object
Returns the value of attribute error_code.
93 94 95 |
# File 'lib/smpp_structures.rb', line 93 def error_code @error_code end |
#network_code ⇒ Object
Public accessors
92 93 94 |
# File 'lib/smpp_structures.rb', line 92 def network_code @network_code end |