Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Future request return type #1264

Open
tit opened this issue Jul 12, 2019 · 1 comment
Open

Future request return type #1264

tit opened this issue Jul 12, 2019 · 1 comment

Comments

@tit
Copy link

tit commented Jul 12, 2019

If method return Array type, I want to document fully structure of Hash.

# return [Array<Hash>]
#   [
#     {
#       foo: Integer,
#       date_time: Time
#     }
#   ]
def method_name()
  [
    {
      foo: 42,
      date_time: Time.new
    }
  ]
end

How I can do it?

@tcd
Copy link

tcd commented Nov 1, 2019

@tit take a look at issue #425

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants