lib/pin_up/card.rb in pin_up-0.9.5 vs lib/pin_up/card.rb in pin_up-0.10.0
- old
+ new
@@ -9,9 +9,9 @@
# the form example provided by Pin to create a card_token
# https://pin.net.au/docs/guides/payment-forms
# args: card_details (Hash)
# returns: card object
def self.create(options)
- build_response(auth_post('cards', options))
+ build_response(make_request(:post, { url: 'cards', options: options }))
end
end
end