Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

Already on GitHub? Sign in to your account

Minor edit to coupon example to correct an error. #45

Merged
merged 1 commit into from Nov 8, 2013

Conversation

Projects
None yet
2 participants
Contributor

joshferrara commented May 22, 2012

I was having trouble getting this to work:

coupon = Chargify::Subscription::Coupon.find_by_product_family_id_and_code(2,"10OFF")

as it's shown in the coupon example on line 25.

I noticed all the other examples use this syntax instead:

coupon = Chargify::Coupon.find_by_product_family_id_and_code(2,"10OFF")

which works perfect.

I'm not sure if this is just an issue with me using it wrong, but it seems like a minor error.

speric added a commit that referenced this pull request Nov 8, 2013

Merge pull request #45 from joshferrara/patch-1
Minor edit to coupon example to correct an error.

@speric speric merged commit 68dbbdd into chargify:master Nov 8, 2013

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment