Sha256: 60645a2cd62903afa7072be73edb33d8895180019b8940642456f0977ddaa1fd

Contents?: true

Size: 195 Bytes

Versions: 1

Compression:

Stored size: 195 Bytes

Contents

require "active_model_serializers"

module Sprangular
  class BaseSerializer < ActiveModel::Serializer
    extend Spree::Api::ApiHelpers
    cached
    delegate :cache_key, to: :object
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
sprangular-0.1.0 app/serializers/sprangular/base_serializer.rb