Class: Textus::Action::Published
Constant Summary
collapse
- BURN =
:sync
Instance Method Summary
collapse
arg, around, cli, cli_stdin, contract, contract?, summary, surfaces, verb, view
Methods inherited from Base
inherited
Instance Method Details
#args ⇒ Object
15
16
17
|
# File 'lib/textus/action/published.rb', line 15
def args
{}
end
|
#call(container:) ⇒ Object
19
20
21
22
23
|
# File 'lib/textus/action/published.rb', line 19
def call(container:, **)
container.manifest.data.entries.reject { |entry| entry.publish_to.empty? }.map do |entry|
{ "key" => entry.key, "publish_to" => entry.publish_to }
end
end
|