Class: RailsAdmin::Config::Fields::Types::MultipleFileUpload::AbstractAttachment

Inherits:
Object
  • Object
show all
Includes:
Configurable, Proxyable
Defined in:
lib/rails_admin/config/fields/types/multiple_file_upload.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from Configurable

#has_option?, #register_deprecated_instance_option, #register_instance_option

Methods included from Proxyable

#bindings, #bindings=, #with

Constructor Details

#initialize(value) ⇒ AbstractAttachment

Returns a new instance of AbstractAttachment.


14
15
16
# File 'lib/rails_admin/config/fields/types/multiple_file_upload.rb', line 14

def initialize(value)
  @value = value
end

Instance Attribute Details

#valueObject (readonly)

Returns the value of attribute value


12
13
14
# File 'lib/rails_admin/config/fields/types/multiple_file_upload.rb', line 12

def value
  @value
end

Instance Method Details

#resource_url(_thumb = false) ⇒ Object


50
51
52
# File 'lib/rails_admin/config/fields/types/multiple_file_upload.rb', line 50

def resource_url(_thumb = false)
  raise('not implemented')
end