We needed to use more fields in the account entity, and we added them by extending the account class in our app like this:
AutotaskAPI::Account.class_eval do self.fields = fields + %i[account_number phone alternate_phone1 alternate_phone2 fax bill_to_address1 bill_to_address2 bill_to_city bill_to_zip_code bill_to_state] end
How about I add these extra fields to the account class it self and create a PR?
So that others who need these fields don't have to this.
We needed to use more fields in the account entity, and we added them by extending the account class in our app like this:
AutotaskAPI::Account.class_eval do self.fields = fields + %i[account_number phone alternate_phone1 alternate_phone2 fax bill_to_address1 bill_to_address2 bill_to_city bill_to_zip_code bill_to_state] end
How about I add these extra fields to the account class it self and create a PR? So that others who need these fields don't have to this.