Skip to content

Commit

Permalink
fixed excluded_query_attributes again
Browse files Browse the repository at this point in the history
  • Loading branch information
Ed Lebert committed Mar 27, 2012
1 parent a121109 commit 4de8721
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions lib/active_zuora/zobject.rb
Expand Up @@ -77,12 +77,11 @@ def self.query_attribute_names(options={})
end

def self.exclude_query_attributes(*attributes)
@excluded_query_attributes ||= [:fieldsToNull]
@excluded_query_attributes.concat attributes
excluded_query_attributes.concat attributes
end

def self.excluded_query_attributes
@excluded_query_attributes || []
@excluded_query_attributes ||= [:fieldsToNull]
end

def self.extra_attributes(attributes=[])
Expand Down

0 comments on commit 4de8721

Please sign in to comment.