Method: Calligraphy::FileResource#create_collection
- Defined in:
- lib/calligraphy/resource/file_resource.rb
#create_collection ⇒ Object
Responsible for creating a new collection based on the resource (see section 9.3 of RFC4918).
Used in MKCOL requests.
89 90 91 |
# File 'lib/calligraphy/resource/file_resource.rb', line 89 def create_collection Dir.mkdir @src_path end |