Class: Majoron::AntHill::SMPP::DestAddress

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

Overview

Class describe destination adress at SUBMIT_MULTI command

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(dest_flag = DestFlag::UNKNOWN) ⇒ DestAddress

Constructor.



58
59
60
61
62
# File 'lib/smpp_structures.rb', line 58

def initialize(dest_flag = DestFlag::UNKNOWN)
  @dest_flag = dest_flag
  @address = nil
  @distr_list_name = nil
end

Instance Attribute Details

#addressObject

Returns the value of attribute address.



66
67
68
# File 'lib/smpp_structures.rb', line 66

def address
  @address
end

#dest_flagObject

Returns the value of attribute dest_flag.



65
66
67
# File 'lib/smpp_structures.rb', line 65

def dest_flag
  @dest_flag
end

#distr_list_nameObject

Returns the value of attribute distr_list_name.



67
68
69
# File 'lib/smpp_structures.rb', line 67

def distr_list_name
  @distr_list_name
end