Sha256: 8b9e0e2dc3167cdb3f74b309ffc8e16deefefcfdd63969c6c9150b16e68dc258

Contents?: true

Size: 586 Bytes

Versions: 9

Compression:

Stored size: 586 Bytes

Contents

module NotRelational


class LocalStorage
  
  def initialize
  end
  def get(bucket,key)
    raise "not impl"
        
  end
  def delete(bucket,key)

    raise "not impl"
  end
  def put(bucket,key,object,attributes=nil)

    raise "not impl"
  end
  def get_content_type(bucket,key)

    raise "not impl"
  end
  def create_direct_url(bucket,key,time_to_live_minutes=60)
      return "#{@root_dir}/#{bucket}/#{key}"

  end

  def get_content_type(bucket,key)
    return "audio/mpeg"

  end
  def copy(old_bucket,old_key,new_bucket,new_key,options)
    raise "not impl"
  end
end

end

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
cloudwow-not_relational-0.1.0 lib/not_relational/local_storage.rb
cloudwow-not_relational-0.1.11 lib/not_relational/local_storage.rb
cloudwow-not_relational-0.1.2 lib/not_relational/local_storage.rb
cloudwow-not_relational-0.1.3 lib/not_relational/local_storage.rb
cloudwow-not_relational-0.1.5 lib/not_relational/local_storage.rb
cloudwow-not_relational-0.1.6 lib/not_relational/local_storage.rb
cloudwow-not_relational-0.1.7 lib/not_relational/local_storage.rb
cloudwow-not_relational-0.1.8 lib/not_relational/local_storage.rb
cloudwow-not_relational-0.1.9 lib/not_relational/local_storage.rb