class GoApiClient::Parsers::Helper

Public Class Methods

href_from(xml) click to toggle source
# File lib/go_api_client/parsers/parser_helper.rb, line 5
def href_from(xml)
  xml.first.attribute('href').value unless xml.empty?
end