Class: PeaDropResponse
- Inherits:
-
PeaResponse
- Object
- PeaResponse
- PeaDropResponse
- Defined in:
- lib/pea_response.rb
Overview
Represents the concept of response in the case of a DROP query executed on the database of an AS/400 server by a PeaClient object.
Instance Method Summary collapse
-
#initialize(has_succeeded, sql_message, sql_state) ⇒ PeaDropResponse
constructor
Initialize a new instance of the PeaDropResponse class.
Methods inherited from PeaResponse
#has_succeeded, #sql_message, #sql_state
Constructor Details
#initialize(has_succeeded, sql_message, sql_state) ⇒ PeaDropResponse
Initialize a new instance of the PeaDropResponse class.
Params:
has_succeeded
-
Boolean set to true if the query has correctly been executed. Set to true if the SQL state is 00000.
sql_message
-
SQL message return from the execution of the query.
sql_state
-
SQL state return from the execution of the query.
104 105 106 |
# File 'lib/pea_response.rb', line 104 def initialize(has_succeeded, , sql_state) super has_succeeded, , sql_state end |