Sha256: dc9ab54650af734a64cbb2bc7147a51b5ed20b0cd020e8210c11f0db145fe5af
Contents?: true
Size: 334 Bytes
Versions: 26
Compression:
Stored size: 334 Bytes
Contents
class Spree::Api::StoreCreditEventsController < Spree::Api::BaseController def mine if current_api_user @store_credit_events = paginate( current_api_user.store_credit_events.exposed_events ).reverse_chronological else render "spree/api/errors/unauthorized", status: :unauthorized end end end
Version data entries
26 entries across 26 versions & 1 rubygems