Sha256: af97a0d8f68418387724e7b5fecf186a7b78d13e1074799962c3b7b6550b7430

Contents?: true

Size: 303 Bytes

Versions: 8

Compression:

Stored size: 303 Bytes

Contents

# frozen_string_literal: true

module Desertcart
  module Marketplace
    class Authorization
      class Serializer < Desertcart::Serializer
        attribute :store_id do |args = {}|
          resource = args.fetch(:resource)
          resource.store.ledger_id
        end
      end
    end
  end
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
desertcart-1.2.0 lib/desertcart/marketplace/authorizations/serializer.rb
desertcart-1.1.5 lib/desertcart/marketplace/authorizations/serializer.rb
desertcart-1.1.4 lib/desertcart/marketplace/authorizations/serializer.rb
desertcart-1.1.3 lib/desertcart/marketplace/authorizations/serializer.rb
desertcart-1.1.2 lib/desertcart/marketplace/authorizations/serializer.rb
desertcart-1.1.1 lib/desertcart/marketplace/authorizations/serializer.rb
desertcart-1.1.0 lib/desertcart/marketplace/authorizations/serializer.rb
desertcart-1.0.0 lib/desertcart/marketplace/authorizations/serializer.rb