lib/billogram/resource.rb in billogram-0.5.1 vs lib/billogram/resource.rb in billogram-0.5.2
- old
+ new
@@ -24,10 +24,10 @@
def initialize(attributes = {})
Hash(attributes).each do |key, value|
if respond_to?("#{key}=")
public_send("#{key}=", value)
else
- warn("Billogram: unknown attribute #{key}")
+ warn("#{self.class}: unknown attribute #{key}")
end
end
RelationBuilder.new(self, attributes).call
end