Class: Spree::Api::V2::Storefront::Account::CreditCardsController
- Inherits:
-
ResourceController
- Object
- ActionController::API
- BaseController
- ResourceController
- Spree::Api::V2::Storefront::Account::CreditCardsController
- Defined in:
- app/controllers/spree/api/v2/storefront/account/credit_cards_controller.rb
Instance Method Summary collapse
Methods inherited from ResourceController
Methods included from Caching
#collection_cache_key, #collection_cache_opts
Methods included from CollectionOptionsHelpers
#collection_links, #collection_meta, #collection_permitted_params
Methods inherited from BaseController
Instance Method Details
#destroy ⇒ Object
9 10 11 12 13 |
# File 'app/controllers/spree/api/v2/storefront/account/credit_cards_controller.rb', line 9 def destroy :destroy, resource, resource destroy_service.call(card: resource) end |