Class: UU::OS::Form::File
- Inherits:
-
Input
- Object
- GVC::Component
- Input
- UU::OS::Form::File
- Defined in:
- uu_os_gvc-0.28.16/lib/uu/os/form/file.rb
Overview
File input component.
Direct Known Subclasses
Defined Under Namespace
Classes: StorageType
Instance Attribute Summary (collapse)
-
- (Object) bucket_uri
URI of bucket where to store files.
-
- (Object) storage_type
readonly
Which storage service to use for binary data.
Attributes inherited from Input
#data, #disabled, #read_only, #required, #submit_value_change, #value, #value_change_action_uri, #width
Attributes inherited from GVC::Component
#attributes, #code, #component_type, #form, #height, #id, #name, #width
Method Summary
Methods inherited from GVC::Component
#add_message, #focus, #initialize, #messages
Constructor Details
This class inherits a constructor from UU::OS::GVC::Component
Instance Attribute Details
- (Object) bucket_uri
URI of bucket where to store files.
11 12 13 |
# File 'uu_os_gvc-0.28.16/lib/uu/os/form/file.rb', line 11 def bucket_uri @bucket_uri end |
- (Object) storage_type (readonly)
Which storage service to use for binary data. By default, UDS service is used. See StorageType for available options.
Note that using UU::OS::Form::File::StorageType::UU_BINARYSTORE has additional requirements for VUC controller - see documentation for more information.
18 19 20 |
# File 'uu_os_gvc-0.28.16/lib/uu/os/form/file.rb', line 18 def storage_type @storage_type end |