class Mio::Model::S3

Public Instance Methods

config_hash() click to toggle source
# File lib/mio/model/s3.rb, line 23
def config_hash
  {
    'vfs-location' => {
      protocol: "S3",
      path: "/",
      key: @args['key'],
      secret: @args.secret,
      bucket: @args.bucket
    }
  }
end
create_hash() click to toggle source
# File lib/mio/model/s3.rb, line 15
def create_hash
  plugin = 'tv.nativ.mio.enterprise.resources.impl.capacity.storage.vfs.VFSStorageResource'

  {name: @args.name,
  pluginClass: plugin,
  visibilityIds: @args.visibility}
end