Module: Dato::Dump::Dsl::CreatePost
Instance Method Summary collapse
Instance Method Details
#create_post(path, &block) ⇒ Object
25 26 27 28 29 30 |
# File 'lib/dato/dump/dsl/create_post.rb', line 25 def create_post(path, &block) operation = Operation::CreatePost.new(operations, path) DataFile.new(operation, &block) operations.add operation end |