OSDN Git Service

t30350#:fix destroy
[pettanr/pettanr.git] / app / models / provider_status.rb
index 0c71768..3902804 100644 (file)
@@ -104,4 +104,9 @@ class ProviderStatus < ActiveRecord::Base
     {:include => {:provider => {}} }
   end
   
+  def stop
+    self.token = nil
+    self.save
+  end
+  
 end