Class: DynamicPDFApi::Response

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

Overview

Represents the base class for response.

Instance Attribute Summary collapse

Instance Attribute Details

#error_idObject

Gets the error id.



20
21
22
# File 'lib/ruby_client/Response.rb', line 20

def error_id
  @error_id
end

#error_jsonObject

Gets the error json.



30
31
32
# File 'lib/ruby_client/Response.rb', line 30

def error_json
  @error_json
end

#error_messageObject

Gets the error message.



15
16
17
# File 'lib/ruby_client/Response.rb', line 15

def error_message
  @error_message
end

#is_successfulObject

Gets the boolean, indicating the response’s status.



10
11
12
# File 'lib/ruby_client/Response.rb', line 10

def is_successful
  @is_successful
end

#status_codeObject

Gets the status code.



25
26
27
# File 'lib/ruby_client/Response.rb', line 25

def status_code
  @status_code
end