module Agave::Dump::Dsl::CreatePost

Public Instance Methods

create_post(path, &block) click to toggle source
# File lib/agave/dump/dsl/create_post.rb, line 24
def create_post(path, &block)
  operation = Operation::CreatePost.new(operations, path)
  DataFile.new(operation, &block)

  operations.add operation
end