Skip to content

Commit

Permalink
Fixed: POD/README errors in generated docs
Browse files Browse the repository at this point in the history
  • Loading branch information
semifor committed May 26, 2009
1 parent ff8267e commit 5a9bab1
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 24 deletions.
29 changes: 5 additions & 24 deletions README
Expand Up @@ -2,7 +2,7 @@ NAME
Net::Twitter - A perl interface to the Twitter API

VERSION
This document describes Net::Twitter version 2.99000_04
This document describes Net::Twitter version 2.99000_05

SYNOPSIS
use Net::Twitter;
Expand Down Expand Up @@ -96,7 +96,7 @@ METHODS AND ARGUMENTS

Net::Twitter->new(legacy => 0);

Is a shortcut for:
is a shortcut for:

Net::Twitter->new(traits => ['API::REST']);

Expand Down Expand Up @@ -135,9 +135,9 @@ METHODS AND ARGUMENTS
applications, consider using "LWP::UserAgent::POE".

useragent_args
An ARRAY ref of arguments to pass to constructor of the class
specified with "useragent_class", above. It defaults to [] (an
empty ARRAY ref).
An HASH ref of arguments to pass to constructor of the class
specified with "useragent_class", above. It defaults to {} (an
empty HASH ref).

useragent
The value for "User-Agent" HTTP header. It defaults to
Expand Down Expand Up @@ -273,7 +273,6 @@ REST API Methods
Returns: ArrayRef[BasicUser]

blocking_ids
blocking_ids(page)

Parameters: *none*
Required: *none*
Expand Down Expand Up @@ -379,7 +378,6 @@ REST API Methods
Returns: Status

direct_messages
direct_messages(id)

Parameters: since_id, max_id, count, page
Required: *none*
Expand Down Expand Up @@ -413,7 +411,6 @@ REST API Methods
Returns: BasicUser

end_session
end_session(id)

Parameters: *none*
Required: *none*
Expand All @@ -425,7 +422,6 @@ REST API Methods
Returns: Error

favorites
favorites(id)

Parameters: id, page
Required: *none*
Expand All @@ -436,7 +432,6 @@ REST API Methods
Returns: ArrayRef[Status]

followers
followers(id)

Parameters: id, user_id, screen_name, page
Required: *none*
Expand All @@ -458,7 +453,6 @@ REST API Methods
Returns: ArrayRef[Int]

friends
friends(id)
alias: following

Parameters: id, user_id, screen_name, page
Expand All @@ -484,7 +478,6 @@ REST API Methods
Returns: ArrayRef[Int]

friends_timeline
friends_timeline(id)
alias: following_timeline

Parameters: since_id, max_id, count, page
Expand All @@ -509,7 +502,6 @@ REST API Methods
Returns: Bool

mentions
mentions(user_a, user_b)
alias: replies

Parameters: since_id, max_id, count, page
Expand All @@ -533,7 +525,6 @@ REST API Methods
Returns: DirectMessage

public_timeline
public_timeline(user, text)

Parameters: *none*
Required: *none*
Expand All @@ -546,7 +537,6 @@ REST API Methods
Returns: ArrayRef[Status]

rate_limit_status
rate_limit_status(user, text)

Parameters: *none*
Required: *none*
Expand All @@ -561,7 +551,6 @@ REST API Methods
Returns: RateLimitStatus

sent_direct_messages
sent_direct_messages(user, text)

Parameters: since_id, max_id, page
Required: *none*
Expand Down Expand Up @@ -598,7 +587,6 @@ REST API Methods
Returns: ExtendedUser

test
test(id)

Parameters: *none*
Required: *none*
Expand Down Expand Up @@ -632,7 +620,6 @@ REST API Methods
Returns: BasicUser

update_profile
update_profile(device)

Parameters: name, email, url, location, description
Required: *none*
Expand All @@ -656,7 +643,6 @@ REST API Methods
Returns: ExtendedUser

update_profile_colors
update_profile_colors(image)

Parameters: profile_background_color, profile_text_color,
profile_link_color, profile_sidebar_fill_color,
Expand All @@ -681,7 +667,6 @@ REST API Methods
Returns: ExtendedUser

user_timeline
user_timeline(image)

Parameters: id, user_id, screen_name, since_id, max_id, count, page
Required: *none*
Expand All @@ -694,7 +679,6 @@ REST API Methods
Returns: ArrayRef[Status]

verify_credentials
verify_credentials(image)

Parameters: *none*
Required: *none*
Expand Down Expand Up @@ -723,7 +707,6 @@ Search API Methods
Returns: ArrayRef[Status]

trends
trends(q)

Parameters: *none*
Required: *none*
Expand All @@ -748,7 +731,6 @@ Search API Methods
Returns: HashRef

trends_daily
trends_daily(exclude)

Parameters: date, exclude
Required: *none*
Expand All @@ -758,7 +740,6 @@ Search API Methods
Returns: HashRef

trends_weekly
trends_weekly(exclude)

Parameters: date, exclude
Required: *none*
Expand Down
2 changes: 2 additions & 0 deletions src/net-twitter-pod.tt2
Expand Up @@ -466,6 +466,8 @@ SUCH DAMAGES.
pos_params = method.required;
ELSIF method.params.size == 1;
pos_params = method.params;
ELSE;
pos_params = [];
END;
IF pos_params.size -%]
=item B<[% method.name %]([% pos_params.join(", ") %])>
Expand Down

0 comments on commit 5a9bab1

Please sign in to comment.