lib/finix/resources/application.rb in finix-0.15 vs lib/finix/resources/application.rb in finix-0.16
- old
+ new
@@ -12,9 +12,10 @@
def create_processor(attrs={})
attrs = attrs.attributes if attrs.is_a?(Finix::Resource)
self.processors.create(attrs)
end
+ alias enable_processor create_processor
def create_token(attrs={})
attrs = attrs.attributes if attrs.is_a?(Finix::Resource)
self.tokens.create(attrs)
end