| 1 | package OAuth::Lite2::Client::ServerState; | ||
| 2 | |||
| 3 | 3 | ▶ | use strict; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 4 | 3 | ▶ | use warnings; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 5 | |||
| 6 | 3 | ▶ | use base 'Class::Accessor::Fast'; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 7 | |||
| 8 | 3 | __PACKAGE__->mk_accessors(qw( | |
| 9 | server_state | ||
| 10 | expires_in | ||
| 11 | )); | ||
| 12 | |||
| 13 | =head1 NAME | ||
| 14 | |||
| 15 | OAuth::Lite2::Client::ServerState - Class represents server-state response | ||
| 16 | |||
| 17 | =head1 SYNOPSIS | ||
| 18 | |||
| 19 | my $t = $client->get_server_state( ... ); | ||
| 20 | $t->server_state; | ||
| 21 | $t->expires_in; | ||
| 22 | |||
| 23 | =head1 DESCRIPTION | ||
| 24 | |||
| 25 | Class represents server-state response | ||
| 26 | |||
| 27 | =head1 ACCESSORS | ||
| 28 | |||
| 29 | =head2 server_state | ||
| 30 | |||
| 31 | server_state string | ||
| 32 | |||
| 33 | =head2 expires_in | ||
| 34 | |||
| 35 | Seconds to expires | ||
| 36 | |||
| 37 | =head1 AUTHOR | ||
| 38 | |||
| 39 | Ryo Ito, E<lt>ritou.06@gmail.comE<gt> | ||
| 40 | |||
| 41 | Lyo Kato, E<lt>lyo.kato@gmail.comE<gt> | ||
| 42 | |||
| 43 | =head1 COPYRIGHT AND LICENSE | ||
| 44 | |||
| 45 | Copyright (C) 2010 by Lyo Kato | ||
| 46 | |||
| 47 | This library is free software; you can redistribute it and/or modify | ||
| 48 | it under the same terms as Perl itself, either Perl version 5.8.8 or, | ||
| 49 | at your option, any later version of Perl 5 you may have available. | ||
| 50 | |||
| 51 | =cut | ||
| 52 | |||
| 53 | 3 | 1; | |