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

Add StringEnumConverter #23

Open
vladfaust opened this issue Jan 16, 2019 · 0 comments
Open

Add StringEnumConverter #23

vladfaust opened this issue Jan 16, 2019 · 0 comments
Labels
enhancement New feature or request

Comments

@vladfaust
Copy link
Owner

enum Foo
  BarBaz
end

StringEnumConverter(Foo).from_http_param("foo=bar_baz") # => Foo::BarBaz
@vladfaust vladfaust added the enhancement New feature or request label Jan 16, 2019
@vladfaust vladfaust added this to the v0.3.0 milestone Jan 16, 2019
@vladfaust vladfaust removed this from the v0.3.0 milestone Feb 12, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant