Sha256: dc23765714704975e1b944a20c3e395737687cb6f3da7d9a0611c717d186c11e

Contents?: true

Size: 207 Bytes

Versions: 9

Compression:

Stored size: 207 Bytes

Contents

module Logistics
  module Core
    class BaseService
      def to_json items
        data = []
        items.each do |item|
          data << item.to_json
        end
        data
      end
    end
  end
end

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
logistics_core-21.11.2 app/services/logistics/core/base_service.rb
logistics_core-21.11.1 app/services/logistics/core/base_service.rb
logistics_core-21.08.1 app/services/logistics/core/base_service.rb
logistics_core-21.03.1 app/services/logistics/core/base_service.rb
logistics_core-20.10.3 app/services/logistics/core/base_service.rb
logistics_core-20.10.2 app/services/logistics/core/base_service.rb
logistics_core-20.10.1 app/services/logistics/core/base_service.rb
logistics_core-20.9.1 app/services/logistics/core/base_service.rb
logistics_core-20.8.1 app/services/logistics/core/base_service.rb