| 1 | package Slack::RTM::Bot::Response; | ||
| 2 | |||
| 3 | 8 | ▶ | use strict; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 4 | 8 | ▶ | use warnings; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 5 | |||
| 6 | 5 | ▶ | sub new { |
|
Subroutine
new: called CC=1 SCAR=0.0
Pod
undocumented
| |||
| 7 | 5 | my $pkg = shift; | |
| 8 | 5 | my $args = {@_}; | |
| 9 | 5 | my $self = {%{$args->{buffer}}}; | |
| 10 | 5 | $self->{user} = $args->{user}; | |
| 11 | 5 | $self->{channel} = $args->{channel}; | |
| 12 | 5 | return bless $self, $pkg; | |
| 13 | } | ||
| 14 | |||
| 15 | 8 | 1; | |