Skip to content

Commit

Permalink
Updated deprecation notices
Browse files Browse the repository at this point in the history
  • Loading branch information
semifor committed Apr 24, 2012
1 parent 9eaab0a commit 86a85d3
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 3 deletions.
7 changes: 7 additions & 0 deletions lib/Net/Twitter/Role/API/REST.pm
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -267,7 +267,11 @@ authenticating user must be the author of the specified status.
); );


twitter_api_method friends => ( twitter_api_method friends => (
deprecated => 1,
description => <<'EOT', description => <<'EOT',
This method has been deprecated. Twitter intends to stop support for it on May
14, 2012. Use C<friends_ids> and C<lookup_users> instead.
Returns a reference to an array of the user's friends. If C<id>, C<user_id>, Returns a reference to an array of the user's friends. If C<id>, C<user_id>,
or C<screen_name> is not specified, the friends of the authenticating user are or C<screen_name> is not specified, the friends of the authenticating user are
returned. The returned users are ordered from most recently followed to least returned. The returned users are ordered from most recently followed to least
Expand Down Expand Up @@ -297,6 +301,9 @@ EOT
twitter_api_method followers => ( twitter_api_method followers => (
deprecated => 1, deprecated => 1,
description => <<'EOT', description => <<'EOT',
This method has been deprecated. Twitter intends to stop support for it on May
14, 2012. Use C<friends_ids> and C<lookup_users> instead.
Returns a reference to an array of the user's followers. If C<id>, C<user_id>, Returns a reference to an array of the user's followers. If C<id>, C<user_id>,
or C<screen_name> is not specified, the followers of the authenticating user are or C<screen_name> is not specified, the followers of the authenticating user are
returned. The returned users are ordered from most recently followed to least returned. The returned users are ordered from most recently followed to least
Expand Down
5 changes: 2 additions & 3 deletions src/net-twitter-pod.tt2
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -815,9 +815,8 @@ SUCH DAMAGES.


=over 4 =over 4


[% FOREACH method IN get_methods_for(class); [% FOREACH method IN get_methods_for(class) -%]
NEXT IF method.deprecated -%] =item B<[% method.name %]>[% IF method.deprecated %] B<DEPRECATED>[% END %]
=item B<[% method.name %]>


[% IF method.required.size > 0; [% IF method.required.size > 0;
pos_params = method.required; pos_params = method.required;
Expand Down

0 comments on commit 86a85d3

Please sign in to comment.