Sha256: cd5dbe32f074a9fdaee3d0b9ad726b9f624f00a340ee96845db1a30a804fd739

Contents?: true

Size: 256 Bytes

Versions: 1

Compression:

Stored size: 256 Bytes

Contents

class Pulitzer::PostTypesController::CreateTemplateVersion

  def initialize(post_type)
    @post_type = post_type
  end

  def call
    post_type_version = @post_type.post_type_versions.create
    CreateSingletonPost.new(post_type_version).call
  end

end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
pulitzer-0.15.0 app/interactions/pulitzer/post_types_controller/create_template_version.rb