Module: Fog::Storage::IAAttributes::ClassMethods

Included in:
Fog::Storage::InternetArchive::Directory, Fog::Storage::InternetArchive::File
Defined in:
lib/fog/internet_archive/models/storage/ia_attributes.rb

Instance Method Summary collapse

Instance Method Details

#ia_metadata_attribute(name) ⇒ Object



11
12
13
# File 'lib/fog/internet_archive/models/storage/ia_attributes.rb', line 11

def (name)
  attribute(name, :aliases=>['amz','archive'].map{|p|"x-#{p}-#{name.to_s.tr('_','-')}"})
end