Class: Spree::Api::V2::Storefront::Account::CreditCardsController
- Inherits:
-
BaseController
- Object
- ActionController::API
- BaseController
- 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 BaseController
Instance Method Details
#index ⇒ Object
9 10 11 |
# File 'app/controllers/spree/api/v2/storefront/account/credit_cards_controller.rb', line 9 def index render_serialized_payload { serialize_collection(resource) } end |
#show ⇒ Object
13 14 15 |
# File 'app/controllers/spree/api/v2/storefront/account/credit_cards_controller.rb', line 13 def show render_serialized_payload { serialize_resource(resource) } end |