Class: RtrHttpGateway::DlrQueryResponse

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

Overview

Represents The Delivery receipt status and reason code

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(status, reason_code, msg_id) ⇒ DlrQueryResponse

Returns a new instance of DlrQueryResponse.



11
12
13
14
15
# File 'lib/http_gateway/rtr_http_gateway.rb', line 11

def initialize(status, reason_code, msg_id)
  @status = status
  @reason_code = reason_code
  @msg_id = msg_id
end

Instance Attribute Details

#msg_idObject (readonly)

Returns the value of attribute msg_id.



16
17
18
# File 'lib/http_gateway/rtr_http_gateway.rb', line 16

def msg_id
  @msg_id
end

#reason_codeObject (readonly)

Returns the value of attribute reason_code.



16
17
18
# File 'lib/http_gateway/rtr_http_gateway.rb', line 16

def reason_code
  @reason_code
end

#statusObject (readonly)

Returns the value of attribute status.



16
17
18
# File 'lib/http_gateway/rtr_http_gateway.rb', line 16

def status
  @status
end