ints
Returns the hashref of API endpoints, loading them on first call from the C<share/endpoints.json> file.
=head2 endpoint
Processes the given endpoint as a template, using the named parameters
p
ead1 INHERITED METHODS
=over 4
=item L<Net::Async::Slack::EventType>
L<from_json|Net::Async::Slack::EventType/from_json>, L<import|Net::Async::Slack::EventType/import>, L<new|Net::Async::Slack::Eve
ead1 INHERITED METHODS
=over 4
=item L<Net::Async::Slack::EventType>
L<from_json|Net::Async::Slack::EventType/from_json>, L<import|Net::Async::Slack::EventType/import>, L<new|Net::Async::Slack::Eve
sub {
require File::Temp;
require JSON;
#require String::ShellQuote;
my $data = shift;
state $json = JSON->new->allow_nonref;
# code to be sent to
nodejs
my $src = "var filter = $code;\n\n".
"console.log(JSON.stringify(filter(".
$json->encode($data).")))";
my ($jsh, $jsfn) = File::Temp::tempfile();
file $jsfn: $!";
my $out = IPC::System::Options::readpipe($nodejs_path, $jsfn);
$json->decode($out);
};
}
1;
# ABSTRACT: Generate filter code
__END__
=pod
=encoding UTF-8
=he
ead1 INHERITED METHODS
=over 4
=item L<Net::Async::Slack::EventType>
L<from_json|Net::Async::Slack::EventType/from_json>, L<import|Net::Async::Slack::EventType/import>, L<new|Net::Async::Slack::Eve
ead1 INHERITED METHODS
=over 4
=item L<Net::Async::Slack::EventType>
L<from_json|Net::Async::Slack::EventType/from_json>, L<import|Net::Async::Slack::EventType/import>, L<new|Net::Async::Slack::Eve
ead1 INHERITED METHODS
=over 4
=item L<Net::Async::Slack::EventType>
L<from_json|Net::Async::Slack::EventType/from_json>, L<import|Net::Async::Slack::EventType/import>, L<new|Net::Async::Slack::Eve
ext-glob-perl libtry-tiny-perl libnet-sftp-foreign-perl libconst-fast-perl libmime-base64-perl libjson-pp-perl>
=back
=head1 Configuring
You need a configuration file. By default simple-backuper tr
other path.
In this case you need specify --cfg option on all simple-backuper run.
This file is json with comments allowed. It can be like this:
{
"db": "~/.simple-bac
ead1 INHERITED METHODS
=over 4
=item L<Net::Async::Slack::EventType>
L<from_json|Net::Async::Slack::EventType/from_json>, L<import|Net::Async::Slack::EventType/import>, L<new|Net::Async::Slack::Eve
ead1 INHERITED METHODS
=over 4
=item L<Net::Async::Slack::EventType>
L<from_json|Net::Async::Slack::EventType/from_json>, L<import|Net::Async::Slack::EventType/import>, L<new|Net::Async::Slack::Eve
ead1 INHERITED METHODS
=over 4
=item L<Net::Async::Slack::EventType>
L<from_json|Net::Async::Slack::EventType/from_json>, L<import|Net::Async::Slack::EventType/import>, L<new|Net::Async::Slack::Eve
ead1 INHERITED METHODS
=over 4
=item L<Net::Async::Slack::EventType>
L<from_json|Net::Async::Slack::EventType/from_json>, L<import|Net::Async::Slack::EventType/import>, L<new|Net::Async::Slack::Eve
ead1 INHERITED METHODS
=over 4
=item L<Net::Async::Slack::EventType>
L<from_json|Net::Async::Slack::EventType/from_json>, L<import|Net::Async::Slack::EventType/import>, L<new|Net::Async::Slack::Eve
ead1 INHERITED METHODS
=over 4
=item L<Net::Async::Slack::EventType>
L<from_json|Net::Async::Slack::EventType/from_json>, L<import|Net::Async::Slack::EventType/import>, L<new|Net::Async::Slack::Eve
ead1 INHERITED METHODS
=over 4
=item L<Net::Async::Slack::EventType>
L<from_json|Net::Async::Slack::EventType/from_json>, L<import|Net::Async::Slack::EventType/import>, L<new|Net::Async::Slack::Eve
ead1 INHERITED METHODS
=over 4
=item L<Net::Async::Slack::EventType>
L<from_json|Net::Async::Slack::EventType/from_json>, L<import|Net::Async::Slack::EventType/import>, L<new|Net::Async::Slack::Eve
ead1 INHERITED METHODS
=over 4
=item L<Net::Async::Slack::EventType>
L<from_json|Net::Async::Slack::EventType/from_json>, L<import|Net::Async::Slack::EventType/import>, L<new|Net::Async::Slack::Eve
ead1 INHERITED METHODS
=over 4
=item L<Net::Async::Slack::EventType>
L<from_json|Net::Async::Slack::EventType/from_json>, L<import|Net::Async::Slack::EventType/import>, L<new|Net::Async::Slack::Eve
existing one
for a specific application. For example, for L<JSON::Color>, see
L<ColorTheme::JSON::Color::default_rgb> or
L<ColorTheme::JSON::Color::bright256>.
=head1 SPECIFICATION STATUS
The serie
entially, a mapping of item names and item colors. For example, a color theme
for syntax-coloring JSON might be something like:
{
string => "ffff00",
number => "00ffff",
comma => "",
=> "ff0000",
true => "00ff00",
false => "008000",
}
An application (in this case, a JSON pretty-printer) will consult the color
theme to get the color codes for various items. By using a
ead1 INHERITED METHODS
=over 4
=item L<Net::Async::Slack::EventType>
L<from_json|Net::Async::Slack::EventType/from_json>, L<import|Net::Async::Slack::EventType/import>, L<new|Net::Async::Slack::Eve