| 1 | package Blitz::Rush; | ||
| 2 | |||
| 3 | use strict; | ||
| 4 | use warnings; | ||
| 5 | |||
| 6 | use Blitz::Exercise; | ||
| 7 | use base qw(Blitz::Exercise); | ||
| 8 | |||
| 9 | =head1 NAME | ||
| 10 | |||
| 11 | Blitz::Sprint - Perl module for executing sprints on Blitz.io | ||
| 12 | Subclass of Blitz::Exercise | ||
| 13 | |||
| 14 | =head1 SUBROUTINES/METHODS | ||
| 15 | |||
| 16 | =head2 new | ||
| 17 | |||
| 18 | create a new sprint object | ||
| 19 | |||
| 20 | =cut | ||
| 21 | |||
| 22 | sub new { | ||
| 23 | my $class = shift; | ||
| 24 | |||
| 25 | my $return = $class->SUPER::new(@_); | ||
| 26 | $return->{test_type} = 'rush'; | ||
| 27 | return $return; | ||
| 28 | } | ||
| 29 | |||
| 30 | return 1; |