More details on posts and error reporting

This commit is contained in:
2023-05-31 22:12:48 +10:00
parent b034ecb3ab
commit 2c1122c9d7
20 changed files with 177 additions and 39 deletions

View File

@@ -97,6 +97,16 @@ module Adamantium
:post
end
def posted_in
if name.nil?
:statuses
elsif location.nil?
:posts
else
:places
end
end
private
# e.g. geo:-37.75188,144.90417;u=35