Class: Empp::DeliveryState

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#dest_terminal_idObject

Returns the value of attribute dest_terminal_id.



4
5
6
# File 'lib/empp/delivery_state.rb', line 4

def dest_terminal_id
  @dest_terminal_id
end

#done_timeObject

Returns the value of attribute done_time.



4
5
6
# File 'lib/empp/delivery_state.rb', line 4

def done_time
  @done_time
end

#msg_idObject

Returns the value of attribute msg_id.



4
5
6
# File 'lib/empp/delivery_state.rb', line 4

def msg_id
  @msg_id
end

#sequence_idObject

Returns the value of attribute sequence_id.



4
5
6
# File 'lib/empp/delivery_state.rb', line 4

def sequence_id
  @sequence_id
end

#stateObject

Returns the value of attribute state.



4
5
6
# File 'lib/empp/delivery_state.rb', line 4

def state
  @state
end

#submit_timeObject

Returns the value of attribute submit_time.



4
5
6
# File 'lib/empp/delivery_state.rb', line 4

def submit_time
  @submit_time
end

Instance Method Details

#to_sObject



6
7
8
# File 'lib/empp/delivery_state.rb', line 6

def to_s
  "msg_id=#{@msg_id}, state=#{@state}, submit_time=#{@submit_time}, done_time=#{@done_time}, dest_terminal_id=#{@dest_terminal_id}, sequence_id=#{@sequence_id}"
end