| 1 | package WebService::Simple::Cabinet::Api; | ||
| 2 | |||
| 3 | use strict; | ||
| 4 | use warnings; | ||
| 5 | |||
| 6 | use WebService::Simple; | ||
| 7 | |||
| 8 | sub new { | ||
| 9 | my($class, %args) = @_; | ||
| 10 | |||
| 11 | my $self = bless { | ||
| 12 | %args, | ||
| 13 | api => WebService::Simple->new(%{ $args{simple_opts} }), | ||
| 14 | }, $class; | ||
| 15 | |||
| 16 | $self->init; | ||
| 17 | $self; | ||
| 18 | } | ||
| 19 | |||
| 20 | sub init {} | ||
| 21 | |||
| 22 | sub response { shift->{response} } | ||
| 23 | |||
| 24 | 1; |