lib/finix/resources/authorization.rb in finix-0.7 vs lib/finix/resources/authorization.rb in finix-0.8
- old
+ new
@@ -4,10 +4,10 @@
include Finix::HypermediaRegistry
define_hypermedia_types [:authorizations]
def void
- self['void_me'] = true
+ self.void_me = true
self.save
end
def capture(attrs={})
self.attributes = self.attributes.merge attrs