Class: Telesign::API::APIErrorResponse

Inherits:
Object
  • Object
show all
Defined in:
lib/telesign/api/default.rb

Overview

/APIErrorResponse

code - SOAP::SOAPInt
message - SOAP::SOAPString

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(code = nil, message = nil) ⇒ APIErrorResponse

Returns a new instance of APIErrorResponse.



36
37
38
39
# File 'lib/telesign/api/default.rb', line 36

def initialize(code = nil, message = nil)
  @code = code
  @message = message
end

Instance Attribute Details

#codeObject

Returns the value of attribute code.



33
34
35
# File 'lib/telesign/api/default.rb', line 33

def code
  @code
end

#messageObject

Returns the value of attribute message.



34
35
36
# File 'lib/telesign/api/default.rb', line 34

def message
  @message
end