Class: RtrPushApi::DlrQueryResponse

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

Overview

Represents The Delivery receipt status and reason code

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(status, reason_code, push_id) ⇒ DlrQueryResponse

Returns a new instance of DlrQueryResponse.



19
20
21
22
23
# File 'lib/push_api/rtr_push_api.rb', line 19

def initialize(status, reason_code, push_id)
  @status = status
  @reason_code = reason_code
  @id = push_id
end

Instance Attribute Details

#idObject (readonly)

Returns the value of attribute id.



24
25
26
# File 'lib/push_api/rtr_push_api.rb', line 24

def id
  @id
end

#reason_codeObject (readonly)

Returns the value of attribute reason_code.



24
25
26
# File 'lib/push_api/rtr_push_api.rb', line 24

def reason_code
  @reason_code
end

#statusObject (readonly)

Returns the value of attribute status.



24
25
26
# File 'lib/push_api/rtr_push_api.rb', line 24

def status
  @status
end