lib/fog/oraclecloud/models/storage/object.rb in fog-oraclecloud-0.1.12 vs lib/fog/oraclecloud/models/storage/object.rb in fog-oraclecloud-0.1.13
- old
+ new
@@ -1,27 +1,27 @@
-module Fog
- module Storage
- class OracleCloud
- class Object < Fog::Model
- identity :name
-
- attribute :content_type
- attribute :bytes
- attribute :last_modified
- attribute :hash
-
- def save
- requires :name
- # data = service.create_container(name)
- # pp data
- # merge_attributes(data.headers)
- end
-
- def destroy
- requires :name
- # service.delete_container(name)
- end
-
- end
- end
- end
-end
+module Fog
+ module Storage
+ class OracleCloud
+ class Object < Fog::Model
+ identity :name
+
+ attribute :content_type
+ attribute :bytes
+ attribute :last_modified
+ attribute :hash
+
+ def save
+ requires :name
+ # data = service.create_container(name)
+ # pp data
+ # merge_attributes(data.headers)
+ end
+
+ def destroy
+ requires :name
+ # service.delete_container(name)
+ end
+
+ end
+ end
+ end
+end