summaryrefslogtreecommitdiff
path: root/app/models
diff options
context:
space:
mode:
authormo khan <mo@mokhan.ca>2014-02-21 06:40:45 -0700
committermo khan <mo@mokhan.ca>2014-02-21 06:40:45 -0700
commitcaaba52706c1aaba8c0831256d597ec85c473dfc (patch)
tree2df4e167b44d79cfb30b6ea3f630d30e561f4ac4 /app/models
parent676c9df5c6da3f60fd8f1a6184810acff5d74df9 (diff)
extract query method to look up the matching status.
Diffstat (limited to 'app/models')
-rw-r--r--app/models/license_status.rb5
1 files changed, 5 insertions, 0 deletions
diff --git a/app/models/license_status.rb b/app/models/license_status.rb
index abe54b1..e22a71c 100644
--- a/app/models/license_status.rb
+++ b/app/models/license_status.rb
@@ -1,3 +1,8 @@
module LicenseStatus
ACTIVE="active"
+ ALL=[ACTIVE]
+
+ def self.find_match(status)
+ ACTIVE
+ end
end