Sha256: 5d75b236b0f2bca9b76d394272a2492004ca8e282184a14fe1e20d8c1c8493e4

Contents?: true

Size: 467 Bytes

Versions: 1

Compression:

Stored size: 467 Bytes

Contents

require 'administrate/field/base'
require 'rails'

module Administrate
  module Field
    class Refile < Administrate::Field::Base
      VERSION = '0.0.3'
      class Engine < ::Rails::Engine
      end

      def to_s
        data
      end

      def direct
        options.fetch(:direct, false)
      end

      def presigned
        options.fetch(:presigned, false)
      end

      def multiple
        options.fetch(:multiple, false)
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
administrate-field-refile-0.0.3 lib/administrate/field/refile.rb