Sha256: 49feb1b33b58960ddcf88f974418ebd81bffacf276209a07394118a4093d8e00

Contents?: true

Size: 213 Bytes

Versions: 1

Compression:

Stored size: 213 Bytes

Contents

module Massive
  class FileSerializer < ActiveModel::Serializer
    attributes :id, :url, :encoding, :col_sep, :total_count, :use_headers, :headers, :sample_data

    def id
      object.id.to_s
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
massive-0.4.0 lib/massive/file_serializer.rb