Skip to content

Commit

Permalink
Method: add include=pricing example
Browse files Browse the repository at this point in the history
  • Loading branch information
justincase committed Jan 26, 2020
1 parent 99914c9 commit 80bf9c5
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion examples/methods/get.rb
Original file line number Diff line number Diff line change
@@ -1,4 +1,11 @@
method = Mollie::Method.get('ideal')

# Include iDEAL issuers
# Include issuers available for the payment method (e.g. for
# iDEAL, KBC/CBC payment button or gift cards).
method = Mollie::Method.get('ideal', include: 'issuers')

# Include pricing for each payment method
method = Mollie::Method.get('ideal', include: 'pricing')

# Include both issuers and pricing
method = Mollie::Method.get('ideal', include: 'issuers,pricing')

0 comments on commit 80bf9c5

Please sign in to comment.