class Api::ShopsController < Api::ApiController skip_before_action :authenticate def index @shops = Shop.select('id,logo,name,shop_code,address,phone_no,cloud_url,cloud_token').all end end