Skip to content
This repository has been archived by the owner on May 14, 2024. It is now read-only.

Pass method_name to reflex class #8

Merged
merged 1 commit into from
Jan 14, 2021

Conversation

ksweetie
Copy link
Contributor

This PR makes method_name an optional argument on build_reflex, as discussed in #5.

As mentioned in that issue, this implementation requires repeating yourself to set the method name twice, ie:

reflex = build_reflex(url: "foo", method_name: "create")
reflex.run(:create)

Definitely open to better ideas here, but this has at least unblocked me for the time being. Thanks for your help!

@jasoncharnes
Copy link
Contributor

Gosh, I'm so sorry this has sat for so long.

@jasoncharnes jasoncharnes merged commit 720c628 into podia:main Jan 14, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants