Permalink
Browse files

Updated deprecation notices

  • Loading branch information...
1 parent 9eaab0a commit 86a85d325f46cfee411a8840ee84db06e5c24d07 @semifor committed Apr 24, 2012
Showing with 9 additions and 3 deletions.
  1. +7 −0 lib/Net/Twitter/Role/API/REST.pm
  2. +2 −3 src/net-twitter-pod.tt2
View
7 lib/Net/Twitter/Role/API/REST.pm
@@ -267,7 +267,11 @@ authenticating user must be the author of the specified status.
);
twitter_api_method friends => (
+ deprecated => 1,
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>,
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
@@ -297,6 +301,9 @@ EOT
twitter_api_method followers => (
deprecated => 1,
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>,
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
View
5 src/net-twitter-pod.tt2
@@ -815,9 +815,8 @@ SUCH DAMAGES.
=over 4
-[% FOREACH method IN get_methods_for(class);
- NEXT IF method.deprecated -%]
-=item B<[% method.name %]>
+[% FOREACH method IN get_methods_for(class) -%]
+=item B<[% method.name %]>[% IF method.deprecated %] B<DEPRECATED>[% END %]
[% IF method.required.size > 0;
pos_params = method.required;

0 comments on commit 86a85d3

Please sign in to comment.