Class: Courier::SendResponse

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(code, message_id) ⇒ SendResponse

Returns a new instance of SendResponse.



25
26
27
28
# File 'lib/trycourier.rb', line 25

def initialize(code, message_id)
  @code = code
  @message_id = message_id
end

Instance Attribute Details

#codeObject (readonly)

Returns the value of attribute code.



22
23
24
# File 'lib/trycourier.rb', line 22

def code
  @code
end

#message_idObject (readonly)

Returns the value of attribute message_id.



23
24
25
# File 'lib/trycourier.rb', line 23

def message_id
  @message_id
end