Method: PolylinkApi::Helper.response_include_data?
- Defined in:
- lib/polylink_api/helper.rb
.response_include_data?(response_body_out) ⇒ Boolean
77 78 79 80 81 |
# File 'lib/polylink_api/helper.rb', line 77 def self.response_include_data?(response_body_out) return false if STATUS_CODES.include? response_body_out return true if STATUS_CODES.include?(response_body_out[/<Result>(\d+)<\/Result>/, 1]) return false end |