-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Description
This would return true if all keys in the result (other than links and meta) are empty. It will simplify commands where we do this:
def execute
result = Serializers::Account.resource(inputs)
if result[:accounts].empty?
status :not_found
else
result
end
endAs this will be possible:
def execute
result = Serializers::Account.resource(inputs)
if result.empty?
status :not_found
else
result
end
endMetadata
Metadata
Assignees
Labels
No labels