Module: Tictail::Api::Card
- Included in:
- Client
- Defined in:
- lib/tictail/api/card.rb
Instance Method Summary collapse
Instance Method Details
#post_card(params) ⇒ Object
4 5 6 7 8 |
# File 'lib/tictail/api/card.rb', line 4 def post_card params raise InvalidParams.new('No store id spacified') unless params[:store_id] response = post("/v1/stores/#{params[:store_id]}/cards" , params.except(:store_id)) response.body end |