Class: Courier::SendMessageResponse

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(code, request_id) ⇒ SendMessageResponse

Returns a new instance of SendMessageResponse.



35
36
37
38
# File 'lib/trycourier.rb', line 35

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

Instance Attribute Details

#codeObject (readonly)

Returns the value of attribute code.



32
33
34
# File 'lib/trycourier.rb', line 32

def code
  @code
end

#request_idObject (readonly)

Returns the value of attribute request_id.



33
34
35
# File 'lib/trycourier.rb', line 33

def request_id
  @request_id
end