def search_by_acn(acn)
      self.errors << "No ACN provided." && return if acn.nil?
      self.errors << "No GUID provided. Please obtain one at - http://www.abr.business.gov.au/Webservices.aspx" && return if self.guid.nil?

      begin
        client = Savon.client(self.client_options)
        response = client.call(:abr_search_by_asic, message: { authenticationGuid: self.guid, searchString: acn.gsub(" ", ""), includeHistoricalDetails: "N" })
        result = response.body[:abr_search_by_asic_response][:abr_payload_search_results][:response][:business_entity]
        return parse_search_result(result)
      rescue => ex
        self.errors << ex.to_s
      end
    end
def search_by_acn(acn)
      self.errors << "No ACN provided." && return if acn.nil?
      self.errors << "No GUID provided. Please obtain one at - http://www.abr.business.gov.au/Webservices.aspx" && return if self.guid.nil?

      begin
        client = Savon.client(self.client_options)
        response = client.call(:abr_search_by_asic, message: { authenticationGuid: self.guid, searchString: acn.gsub(" ", ""), includeHistoricalDetails: "N" })
        result = response.body[:abr_search_by_asic_response][:abr_payload_search_results][:response][:business_entity]
        return parse_search_result(result)
      rescue => ex
        self.errors << ex.to_s
      end
    end
Setup a new instance of the ABN search class.

 @param [String] guid - the ABR GUID for Web Services access
 @param [Hash] options - options detailed below
 @option options [String] :proxy Proxy URL string if required (Example: http://user:pass@host.example.com:443)
 @return [ABNSearch]
 Performs an ABR search for the ABN setup upon initialization

 @param [String] acn - the acn you wish to search for
 @return [Hash] search result in a hash