Module: FrOData::Service::Response::XML
- Defined in:
- lib/frodata/service/response/xml.rb
Instance Method Summary collapse
- #error_message ⇒ Object
- #next_page ⇒ Object
- #next_page_url ⇒ Object
- #parse_entity(entity_data, entity_options) ⇒ Object
- #parsed_body ⇒ Object
Instance Method Details
#error_message ⇒ Object
17 18 19 |
# File 'lib/frodata/service/response/xml.rb', line 17 def response_xml.xpath('//error/message').first.andand.text end |
#next_page ⇒ Object
9 10 11 |
# File 'lib/frodata/service/response/xml.rb', line 9 def next_page raise NotImplementedError, 'Not Available' end |
#next_page_url ⇒ Object
13 14 15 |
# File 'lib/frodata/service/response/xml.rb', line 13 def next_page_url raise NotImplementedError, 'Not Available' end |
#parse_entity(entity_data, entity_options) ⇒ Object
5 6 7 |
# File 'lib/frodata/service/response/xml.rb', line 5 def parse_entity(entity_data, ) raise NotImplementedError, 'Not Available' end |
#parsed_body ⇒ Object
21 22 23 |
# File 'lib/frodata/service/response/xml.rb', line 21 def parsed_body response_xml end |