lib/runcible/resources/consumer.rb in runcible-0.1.2 vs lib/runcible/resources/consumer.rb in runcible-0.1.3

- old
+ new

@@ -77,20 +77,20 @@ def self.repos(id) call(:get, path("#{id}/bindings/")) end - def self.install_units(id, units, options="") + def self.install_units(id, units, options={}) required = required_params(binding.send(:local_variables), binding, ["id"]) call(:post, path("#{id}/actions/content/install/"), :payload => { :required => required }) end - def self.update_units(id, units, options="") + def self.update_units(id, units, options={}) required = required_params(binding.send(:local_variables), binding, ["id"]) call(:post, path("#{id}/actions/content/update/"), :payload => { :required => required }) end - def self.uninstall_units(id, units, options="") + def self.uninstall_units(id, units, options={}) required = required_params(binding.send(:local_variables), binding, ["id"]) call(:post, path("#{id}/actions/content/uninstall/"), :payload => { :required => required }) end end end \ No newline at end of file