Class: Actions::Katello::ContentViewVersion::ImportRepository

Inherits:
EntryAction
  • Object
show all
Defined in:
app/lib/actions/katello/content_view_version/import_repository.rb

Instance Method Summary collapse

Instance Method Details

#humanized_nameObject



15
16
17
# File 'app/lib/actions/katello/content_view_version/import_repository.rb', line 15

def humanized_name
  _("Import Repository")
end

#plan(organization, path:, metadata:) ⇒ Object



5
6
7
8
9
10
11
12
13
# File 'app/lib/actions/katello/content_view_version/import_repository.rb', line 5

def plan(organization, path:, metadata:)
  action_subject(organization)
  sequence do
    plan_action(::Actions::Katello::ContentViewVersion::Import,
                                    organization: organization,
                                    path: path,
                                    metadata: )
  end
end