lib/balanced/resources/credit.rb in balanced-0.3.4 vs lib/balanced/resources/credit.rb in balanced-0.3.5

- old
+ new

@@ -9,10 +9,10 @@ class Credit include Balanced::Resource def initialize attributes = {} Balanced::Utils.stringify_keys! attributes unless attributes.has_key? 'uri' - attributes['uri'] = Balanced::Marketplace.my_marketplace.send(self.class.collection_name + '_uri') + attributes['uri'] = self.class.uri end super attributes end end end