lib/appfuel/storage/repository/base.rb in appfuel-0.6.3 vs lib/appfuel/storage/repository/base.rb in appfuel-0.6.4
- old
+ new
@@ -246,9 +246,13 @@
def url_token(nbr = 32)
nbr = Integer(nbr)
SecureRandom.urlsafe_base64(nbr)
end
+ def timestamp
+ Time.now.utc.iso8601
+ end
+
private
def method_not_implemented_error
fail "must be implemented by a storage specific repository"
end
end