    # File lib/fog/atmos/models/storage/file.rb, line 78
            def save(options = {})
              requires :body, :directory, :key
              directory.kind_of?(Directory) ? ns = directory.key : ns = directory
              ns += key
              options[:headers] ||= {}
              options[:headers]['Content-Type'] = content_type if content_type
              options[:body] = body
              begin
                data = service.post_namespace(ns, options)
                self.objectid = data.headers['location'].split('/')[-1]
              rescue => error
                if error.message =~ /The resource you are trying to create already exists./
                  data = service.put_namespace(ns, options)
                else
                  raise error
                end
              end
              # merge_attributes(data.headers)
              true
            end