Class: PinPays::Cards
Constant Summary collapse
- PATH =
'/cards'
Constants inherited from Api
Class Method Summary collapse
-
.create(card) ⇒ Object
Create a card card - hash of card details.
Methods inherited from Api
Class Method Details
.create(card) ⇒ Object
Create a card
card - hash of card details
9 10 11 |
# File 'lib/pin_pays/cards.rb', line 9 def create(card) api_response(api_post(PATH, card)) end |