class PixiClient::Response
Attributes
rows[RW]
sql_messages[RW]
Public Class Methods
new(api_method, response_body)
click to toggle source
# File lib/pixi_client/response.rb, line 5 def initialize(api_method, response_body) parser = PixiClient::ResponseParser.new(response_body[:"#{api_method}_response"][:"#{api_method}_result"]) parser.parse! self.rows = parser.rows self.sql_messages = parser.sql_messages end