Class: DynamicPDFApi::JsonResponse
- Defined in:
- lib/ruby_client/JsonResponse.rb
Overview
Represents the base class for json response.
Direct Known Subclasses
Instance Attribute Summary collapse
-
#json_content ⇒ Object
Gets the json content.
Attributes inherited from Response
#error_id, #error_json, #error_message, #is_successful, #status_code
Instance Method Summary collapse
-
#initialize(json_content = nil) ⇒ JsonResponse
constructor
A new instance of JsonResponse.
Constructor Details
#initialize(json_content = nil) ⇒ JsonResponse
Returns a new instance of JsonResponse.
8 9 10 11 |
# File 'lib/ruby_client/JsonResponse.rb', line 8 def initialize(json_content = nil) super() @json_content = json_content end |
Instance Attribute Details
#json_content ⇒ Object
Gets the json content.
16 17 18 |
# File 'lib/ruby_client/JsonResponse.rb', line 16 def json_content @json_content end |