| 1 | # ABSTRACT: Automatically generated class for Playwright::FormData | ||
| 2 | # PODNAME: Playwright::FormData | ||
| 3 | |||
| 4 | # These classes used to be generated at runtime, but are now generated when the module is built. | ||
| 5 | # Don't send patches against these modules, they will be ignored. | ||
| 6 | # See generate_perl_modules.pl in the repository for generating this. | ||
| 7 | |||
| 8 | 1 | ▶ | use strict; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 9 | 1 | ▶ | use warnings; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 10 | |||
| 11 | package Playwright::FormData; | ||
| 12 | 1 | $Playwright::FormData::VERSION = '1.641'; | |
| 13 | 1 | ▶ | use parent 'Playwright::Base'; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 14 | |||
| 15 | 0 | ▶ | sub new { |
|
Subroutine
new: not called CC=1 SCAR=6.9
Pod
documented
| |||
| 16 | 0 | my ( $self, %options ) = @_; | |
| 17 | 0 | $options{type} = 'FormData'; | |
| 18 | 0 | return $self->SUPER::new(%options); | |
| 19 | } | ||
| 20 | |||
| 21 | 0 | ▶ | sub spec { |
|
Subroutine
spec: not called CC=1 SCAR=6.9
Pod
undocumented
| |||
| 22 | 0 | return $Playwright::spec->{'FormData'}{members}; | |
| 23 | } | ||
| 24 | |||
| 25 | 0 | ▶ | sub create { |
|
Subroutine
create: not called CC=1 SCAR=6.9
Pod
documented
| |||
| 26 | 0 | my $self = shift; | |
| 27 | return $self->_api_request( | ||
| 28 | args => [@_], | ||
| 29 | command => 'create', | ||
| 30 | object => $self->{guid}, | ||
| 31 | type => $self->{type} | ||
| 32 | 0 | ); | |
| 33 | } | ||
| 34 | |||
| 35 | 0 | ▶ | sub set { |
|
Subroutine
set: not called CC=1 SCAR=6.9
Pod
documented
| |||
| 36 | 0 | my $self = shift; | |
| 37 | return $self->_api_request( | ||
| 38 | args => [@_], | ||
| 39 | command => 'set', | ||
| 40 | object => $self->{guid}, | ||
| 41 | type => $self->{type} | ||
| 42 | 0 | ); | |
| 43 | } | ||
| 44 | |||
| 45 | 0 | ▶ | sub append { |
|
Subroutine
append: not called CC=1 SCAR=6.9
Pod
documented
| |||
| 46 | 0 | my $self = shift; | |
| 47 | return $self->_api_request( | ||
| 48 | args => [@_], | ||
| 49 | command => 'append', | ||
| 50 | object => $self->{guid}, | ||
| 51 | type => $self->{type} | ||
| 52 | 0 | ); | |
| 53 | } | ||
| 54 | |||
| 55 | 0 | ▶ | sub on { |
|
Subroutine
on: not called CC=1 SCAR=6.9
Pod
documented
| |||
| 56 | 0 | my $self = shift; | |
| 57 | return $self->_api_request( | ||
| 58 | args => [@_], | ||
| 59 | command => 'on', | ||
| 60 | object => $self->{guid}, | ||
| 61 | type => $self->{type} | ||
| 62 | 0 | ); | |
| 63 | } | ||
| 64 | |||
| 65 | 0 | ▶ | sub evaluate { |
|
Subroutine
evaluate: not called CC=1 SCAR=6.9
Pod
documented
| |||
| 66 | 0 | my $self = shift; | |
| 67 | return $self->_api_request( | ||
| 68 | args => [@_], | ||
| 69 | command => 'evaluate', | ||
| 70 | object => $self->{guid}, | ||
| 71 | type => $self->{type} | ||
| 72 | 0 | ); | |
| 73 | } | ||
| 74 | |||
| 75 | 0 | ▶ | sub evaluateHandle { |
|
Subroutine
evaluateHandle: not called CC=1 SCAR=6.9
Pod
documented
| |||
| 76 | 0 | my $self = shift; | |
| 77 | return $self->_api_request( | ||
| 78 | args => [@_], | ||
| 79 | command => 'evaluateHandle', | ||
| 80 | object => $self->{guid}, | ||
| 81 | type => $self->{type} | ||
| 82 | 0 | ); | |
| 83 | } | ||
| 84 | |||
| 85 | 1 | 1; | |
| 86 | |||
| 87 | __END__ | ||