Sha256: a3e422b0915d258f7326eb9d96cfb6d3ec8be92db99386bbc89d4bee0ce106b6
Contents?: true
Size: 351 Bytes
Versions: 45
Compression:
Stored size: 351 Bytes
Contents
class Spree::Api::StoreCreditEventsController < Spree::Api::BaseController def mine if current_api_user @store_credit_events = current_api_user.store_credit_events.exposed_events.page(params[:page]).per(params[:per_page]).reverse_chronological else render "spree/api/errors/unauthorized", status: :unauthorized end end end
Version data entries
45 entries across 45 versions & 1 rubygems