lib/codat/models/company.rb in codat-0.1.6.2 vs lib/codat/models/company.rb in codat-0.1.7

- old
+ new

@@ -22,10 +22,10 @@ result.body[:results].map { |company| new(json: company) } end def self.find(company_id) - url = format_url(ENDPOINTS[:single], company_id: company_id) + url = format_url(ENDPOINTS[:single], company_id:) result = get(url) return nil unless successful_response?(result)