Class: Majoron::AntHill::SMPP::NetworkErrorCode

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

Overview

Class describe SMPP network error code

Instance Attribute Summary collapse

Instance Method Summary collapse

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_codeObject

Returns the value of attribute error_code.



93
94
95
# File 'lib/smpp_structures.rb', line 93

def error_code
  @error_code
end

#network_codeObject

Public accessors



92
93
94
# File 'lib/smpp_structures.rb', line 92

def network_code
  @network_code
end