You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* updated Kavorka signature to remove non-functional or illegitimate argument types
* removed Net::Stripe::Card and disallowed card id for card, as neither form is valid conceptually <lukec#138>
* always create a Net::Stripe::Customer object before _post() to take advantage of argument coercion during objectification <lukec#148>
* include omitted arguments in object creation
* clean up and centralize Net::Stripe:Token coercion code, since we always need the token id
* added unit tests to exercise all allowed argument forms for customer creation and customer update <lukec#139>
* closes <lukec#138>
* updated Kavorka signature to remove non-functional or illegitimate argument types
* removed Net::Stripe::Card and disallowed card id for card, as neither form is valid conceptually <#138>
* always create a Net::Stripe::Customer object before _post() to take advantage of argument coercion during objectification <#148>
* include omitted arguments in object creation
* clean up and centralize Net::Stripe:Token coercion code, since we always need the token id
* added unit tests to exercise all allowed argument forms for customer creation and customer update <#139>
* closes <#138>
in some methods we
_post()
passed arguments directly:stripe-perl/lib/Net/Stripe.pm
Lines 481 to 492 in 646861d
but in doing so, we are unable to take advantage of any magic that happens during objectification:
stripe-perl/lib/Net/Stripe/Resource.pm
Lines 22 to 26 in 646861d
and therefore have to duplicate it in the method:
stripe-perl/lib/Net/Stripe.pm
Lines 475 to 477 in 646861d
where feasible, i think that we should use a pattern similar to
post_subscription()
:stripe-perl/lib/Net/Stripe.pm
Lines 781 to 799 in 646861d
The text was updated successfully, but these errors were encountered: