We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
3.1.1
Stripe.TestHelpers.TestClock.retrieve(...)
[error] ** (UndefinedFunctionError) function Stripe.TestClock.__struct__/0 is undefined (module Stripe.TestClock is not available) Stripe.TestClock.__struct__() (stripity_stripe 3.1.1) lib/stripe/converter.ex:41: Stripe.Converter.convert_stripe_object/1 (stripity_stripe 3.1.1) lib/stripe/request.ex:204: Stripe.Request.make_request/1
This should be parsed into the Stripe.TestHelpers.TestClock struct instead of Stripe.TestClock
Stripe.TestHelpers.TestClock
Stripe.TestClock
I believe this issue is related to #792 which made a change to how object_name_to_module parses test clocks. Line 54 added in that PR does
object_name_to_module
def object_name_to_module("test_helpers.test_clock"), do: Stripe.TestClock
instead of
def object_name_to_module("test_helpers.test_clock"), do: Stripe.TestHelpers.TestClock
The text was updated successfully, but these errors were encountered:
We have the same issue
Sorry, something went wrong.
Are you able to contribute?
@yordis yeah I can put up a PR
Thx for the PR, gonna close this now
No branches or pull requests
Existing Issue or Pull Request Verification
Package Version
3.1.1
Are you using the latest version?
Steps to Reproduce
Stripe.TestHelpers.TestClock.retrieve(...)
Expected Result
This should be parsed into the
Stripe.TestHelpers.TestClock
struct instead ofStripe.TestClock
Actual Result
I believe this issue is related to #792 which made a change to how
object_name_to_module
parses test clocks. Line 54 added in that PR doesinstead of
The text was updated successfully, but these errors were encountered: