Class: Pin::Card
Overview
This class models Pin’s Cards API
Class Method Summary collapse
-
.create(options) ⇒ Object
creates a card given a hash of options pin.net.au/docs/api/cards Only use if you have a secure server connection, if in doubt use the form example provided by Pin to create a card_token pin.net.au/docs/guides/payment-forms args: card_details (Hash) returns: card object.
Methods inherited from Base
Constructor Details
This class inherits a constructor from Pin::Base
Class Method Details
.create(options) ⇒ Object
creates a card given a hash of options pin.net.au/docs/api/cards Only use if you have a secure server connection, if in doubt use the form example provided by Pin to create a card_token pin.net.au/docs/guides/payment-forms args: card_details (Hash) returns: card object
14 15 16 |
# File 'lib/pin_up/card.rb', line 14 def self.create() build_response(auth_post('cards', )) end |