issm / Redmine-Chan

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

NAME

Redmine::Chan

SYNOPSIS

use Redmine::Chan;
my $minechan = Redmine::Chan->new(
    irc_server      => 'irc.example.com', # irc
    irc_port        => 6667,
    irc_password    => '',
    irc_channels    => {
        '#channel' => { # irc channel name
            key        => '', # irc channel key
            project_id => 1,  # redmine project id
            charset    => 'iso-2022-jp',
        },
    },
    redmine_url     => $redmine_url,
    redmine_api_key => $redmine_api_key,

    # optional config
    status_commands => {
        1 => [qw/hoge/], # change status command
    },
    custom_field_prefix => {
        1 => [qw(prefix)], # prefix to change custome field
    },
    issue_fields => [qw/subject/], # displayed issue fields
);
$minechan->cook;

AUTHOR

Yasuhiro Onishi <yasuhiro.onishi@gmail.com>

LICENCE AND COPYRIGHT

Copyright (c) 2012, Yasuhiro Onishi <yasuhiro.onishi@gmail.com>. All rights reserved.

This module is free software; you can redistribute it and/or modify it under the same terms as Perl itself. See perlartistic.

About


Languages

Language:Perl 100.0%