Class: Spree::Api::V2::Storefront::CountriesController
  
  
  
  
    
      Instance Method Summary
      collapse
    
    
  
  
  
  
  
  
  
  
  
  
  #collection_links, #collection_meta, #collection_permitted_params
  
  
  
  
  
  
  
  
  
  #content_type
  
  
  
  
    Instance Method Details
    
      
  
  
    #index  ⇒ Object 
  
  
  
  
    | 
8
9
10 | # File 'app/controllers/spree/api/v2/storefront/countries_controller.rb', line 8
def index
  render_serialized_payload { serialize_collection(collection) }
end | 
 
    
      
  
  
    #show  ⇒ Object 
  
  
  
  
    | 
12
13
14 | # File 'app/controllers/spree/api/v2/storefront/countries_controller.rb', line 12
def show
  render_serialized_payload { serialize_resource(resource) }
end |