Syntax is not important, both: `PasswordAuthApi { ...
# language-proposals
m
Syntax is not important, both:
PasswordAuthApi { email, password -> Observable.just(AuthApiDto("access_token", 4096, "refresh_token")) }
and
{ email, password -> Observable.just(AuthApiDto("access_token", 4096, "refresh_token")) } as PasswordAuthApi
would work for us.