set/right/api_key.rb in card-mod-api_key-0.16.0 vs set/right/api_key.rb in card-mod-api_key-0.17.0
- old
+ new
@@ -19,14 +19,14 @@
def history?
false
end
-def ok_to_read
+def ok_to_read?
own_account? || super
end
-def ok_to_create
+def ok_to_create?
own_account? || super
end
# @return [True/False] checks whether key matches content
def authenticate_api_key api_key