File Coverage

blib/lib/W3C/SOAP/WSDL/Meta/Method.pm
Criterion Covered Total %
statement 24 24 100.0
branch n/a
condition n/a
subroutine 8 8 100.0
pod n/a
total 32 32 100.0


line stmt bran cond sub pod time code
1             package W3C::SOAP::WSDL::Meta::Method;
2              
3             # Created on: 2012-07-15 19:45:13
4             # Create by: Ivan Wills
5             # $Id$
6             # $Revision$, $HeadURL$, $Date$
7             # $Revision$, $Source$, $Date$
8              
9 5     5   21 use Moose;
  5         7  
  5         33  
10 5     5   26797 use warnings;
  5         9  
  5         128  
11 5     5   18 use version;
  5         7  
  5         24  
12 5     5   227 use Carp;
  5         7  
  5         253  
13 5     5   20 use Scalar::Util;
  5         5  
  5         140  
14 5     5   20 use List::Util;
  5         5  
  5         202  
15             #use List::MoreUtils;
16 5     5   21 use Data::Dumper qw/Dumper/;
  5         68  
  5         197  
17 5     5   21 use English qw/ -no_match_vars /;
  5         6  
  5         23  
18              
19             extends 'Moose::Meta::Method';
20              
21             our $VERSION = version->new('0.11');
22              
23             has wsdl_operation => (
24             is => 'rw',
25             isa => 'Str',
26             required => 1,
27             predicate => 'has_wsdl_operation',
28             );
29             has in_class => (
30             is => 'rw',
31             isa => 'Str',
32             predicate => 'has_in_class',
33             );
34             has in_attribute => (
35             is => 'rw',
36             isa => 'Str',
37             default => 0,
38             predicate => 'has_in_attribute',
39             );
40             has in_header_class => (
41             is => 'rw',
42             isa => 'Str',
43             predicate => 'has_in_header_class',
44             );
45             has in_header_attribute => (
46             is => 'rw',
47             isa => 'Str',
48             default => 0,
49             predicate => 'has_in_header_attribute',
50             );
51             has out_class => (
52             is => 'rw',
53             isa => 'Str',
54             default => 1,
55             predicate => 'has_out_class',
56             );
57             has out_attribute => (
58             is => 'rw',
59             isa => 'Str',
60             predicate => 'has_out_attribute',
61             );
62             has out_header_class => (
63             is => 'rw',
64             isa => 'Str',
65             predicate => 'has_out_header_class',
66             );
67             has out_header_attribute => (
68             is => 'rw',
69             isa => 'Str',
70             default => 0,
71             predicate => 'has_out_header_attribute',
72             );
73             has faults => (
74             is => 'rw',
75             isa => 'ArrayRef[HashRef]',
76             predicate => 'has_faults',
77             );
78             has security => (
79             is => 'rw',
80             isa => 'Str',
81             predicate => 'has_security',
82             );
83              
84              
85             1;
86              
87             __END__
88              
89             =head1 NAME
90              
91             W3C::SOAP::WSDL::Meta::Method - Moose meta method for WSDL methods
92              
93             =head1 VERSION
94              
95             This documentation refers to W3C::SOAP::WSDL::Meta::Method version 0.11.
96              
97             =head1 SYNOPSIS
98              
99             use W3C::SOAP::WSDL::Meta::Method;
100              
101             # Brief but working code example(s) here showing the most common usage(s)
102             # This section will be as far as many users bother reading, so make it as
103             # educational and exemplary as possible.
104              
105              
106             =head1 DESCRIPTION
107              
108             Extra meta info for WSDL methods
109              
110             =head1 SUBROUTINES/METHODS
111              
112             =head1 DIAGNOSTICS
113              
114             =head1 CONFIGURATION AND ENVIRONMENT
115              
116             =head1 DEPENDENCIES
117              
118             =head1 INCOMPATIBILITIES
119              
120             =head1 BUGS AND LIMITATIONS
121              
122             There are no known bugs in this module.
123              
124             Please report problems to Ivan Wills (ivan.wills@gmail.com).
125              
126             Patches are welcome.
127              
128             =head1 AUTHOR
129              
130             Ivan Wills - (ivan.wills@gmail.com)
131              
132             =head1 LICENSE AND COPYRIGHT
133              
134             Copyright (c) 2012 Ivan Wills (14 Mullion Close, Hornsby Heights, NSW Australia 2077).
135             All rights reserved.
136              
137             This module is free software; you can redistribute it and/or modify it under
138             the same terms as Perl itself. See L<perlartistic>. This program is
139             distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY;
140             without even the implied warranty of MERCHANTABILITY or FITNESS FOR A
141             PARTICULAR PURPOSE.
142              
143             =cut