lib/intercom-rails/proxy/company.rb in intercom-rails-0.2.0 vs lib/intercom-rails/proxy/company.rb in intercom-rails-0.2.1

- old
+ new

@@ -15,10 +15,10 @@ raise NoCompanyFoundError end def valid? - company.respond_to?(:id) && company.id.present? + company.present? && company.respond_to?(:id) && company.id.present? end def standard_data hsh = {} hsh[:id] = company.id