Class: Actions::Katello::ContentViewVersion::ImportLibrary

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

Instance Method Summary collapse

Instance Method Details

#humanized_nameObject



12
13
14
# File 'app/lib/actions/katello/content_view_version/import_library.rb', line 12

def humanized_name
  _("Import Default Content View")
end

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



5
6
7
8
9
10
# File 'app/lib/actions/katello/content_view_version/import_library.rb', line 5

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