Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
better Mojo::UserAgent examples
  • Loading branch information
kraih committed Apr 19, 2012
1 parent a271ba5 commit 69767f9
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 1 deletion.
3 changes: 3 additions & 0 deletions Changes
@@ -1,5 +1,8 @@
This file documents the revision history for Perl extension Mojolicious.

2.86 2012-04-20
- Improved documentation.

2.85 2012-04-19
- Modernized ".perltidyrc".
- Improved documentation. (diegok, sri)
Expand Down
6 changes: 6 additions & 0 deletions lib/Mojo/UserAgent.pm
Expand Up @@ -803,8 +803,13 @@ Application relative URLs will be processed with, defaults to the value of the
C<MOJO_APP> environment variable, which is usually a L<Mojo> or L<Mojolicious>
object.
# Introspect
say $ua->app->secret;
# Change log level
$ua->app->log->level('fatal');
# Change application behavior
$ua->app->defaults(testing => 'oh yea!');
=head2 C<app_url>
Expand All @@ -815,6 +820,7 @@ object.
Get absolute L<Mojo::URL> object for C<app> and switch protocol if necessary.
# Port currently used for processing relative URLs
say $ua->app_url->port;
=head2 C<build_form_tx>
Expand Down
2 changes: 1 addition & 1 deletion lib/Mojolicious.pm
Expand Up @@ -33,7 +33,7 @@ has static => sub { Mojolicious::Static->new };
has types => sub { Mojolicious::Types->new };

our $CODENAME = 'Leaf Fluttering In Wind';
our $VERSION = '2.85';
our $VERSION = '2.86';

# "These old doomsday devices are dangerously unstable.
# I'll rest easier not knowing where they are."
Expand Down

0 comments on commit 69767f9

Please sign in to comment.