Class: PixiClient::ResponseParser
- Inherits:
-
Object
- Object
- PixiClient::ResponseParser
- Defined in:
- lib/pixi_client/response_parser.rb
Constant Summary collapse
- SQL_ROWSET1_SCHEMA_NS =
'urn:schemas-microsoft-com:sql:SqlRowSet1'
Instance Attribute Summary collapse
-
#response_body ⇒ Object
Returns the value of attribute response_body.
-
#rows ⇒ Object
Returns the value of attribute rows.
-
#sql_messages ⇒ Object
Returns the value of attribute sql_messages.
Instance Method Summary collapse
-
#initialize(response_body) ⇒ ResponseParser
constructor
A new instance of ResponseParser.
- #parse! ⇒ Object
Constructor Details
#initialize(response_body) ⇒ ResponseParser
Returns a new instance of ResponseParser.
9 10 11 12 13 |
# File 'lib/pixi_client/response_parser.rb', line 9 def initialize(response_body) self.response_body = response_body self.rows = [] self. = [] end |
Instance Attribute Details
#response_body ⇒ Object
Returns the value of attribute response_body.
5 6 7 |
# File 'lib/pixi_client/response_parser.rb', line 5 def response_body @response_body end |
#rows ⇒ Object
Returns the value of attribute rows.
5 6 7 |
# File 'lib/pixi_client/response_parser.rb', line 5 def rows @rows end |
#sql_messages ⇒ Object
Returns the value of attribute sql_messages.
5 6 7 |
# File 'lib/pixi_client/response_parser.rb', line 5 def @sql_messages end |
Instance Method Details
#parse! ⇒ Object
15 16 17 18 |
# File 'lib/pixi_client/response_parser.rb', line 15 def parse! parse_rowset end |