module Dato::Dump::Dsl::CreatePost

Public Instance Methods

create_post(path, &block) click to toggle source
# 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