lib/balanced/resources/refund.rb in balanced-0.8.2 vs lib/balanced/resources/refund.rb in balanced-1.0.beta1

- old
+ new

@@ -4,17 +4,12 @@ # Debit. Funds are returned to your Marketplace's Merchant Account # proportional to the amount of the Refund. # class Refund include Balanced::Resource + include Balanced::HypermediaRegistry - def initialize attributes = {} - Balanced::Utils.stringify_keys! attributes - unless attributes.has_key? 'uri' - attributes['uri'] = self.class.uri - end - super attributes - end + define_hypermedia_types [:refunds] end end