Sha256: 57f5fd08a411d0e8bb430ae90fbb73cc91c60f619beedede4def2e105590c503
Contents?: true
Size: 311 Bytes
Versions: 2
Compression:
Stored size: 311 Bytes
Contents
module Spree class BaseSerializer < SpreeApiV2.parent_serializer def image_links(object) { original: object.url(:original), mini: object.url(:mini), small: object.url(:small), product: object.url(:product), large: object.url(:large) } end end end
Version data entries
2 entries across 2 versions & 2 rubygems
Version | Path |
---|---|
spree_api_v2-0.2.2 | app/serializers/spree/base_serializer.rb |
solidus_api_v2-0.2.2 | app/serializers/spree/base_serializer.rb |