| 1 | # Copyright (C) 2004 Identity Commons. All Rights Reserved. | ||||||||||
| 2 | # See LICENSE for licensing details | ||||||||||
| 3 | |||||||||||
| 4 | # Author: Eugene Eric Kim <eekim@blueoxen.org> | ||||||||||
| 5 | |||||||||||
| 6 | package XRI::Descriptor::LocalAccess; | ||||||||||
| 7 | |||||||||||
| 8 | 4 | our $VERSION = 0.1; | |||||||||
| 9 | |||||||||||
| 10 | 1 | ▶ | sub new { | ||||||||
|
Subroutine
new: called CC=1 SCAR=0.0
Pod
documented
| |||||||||||
| 11 | 1 | bless {}, shift; | |||||||||
| 12 | } | ||||||||||
| 13 | |||||||||||
| 14 | ### accessors/mutators | ||||||||||
| 15 | |||||||||||
| 16 | 0 | ▶ | sub service { | ||||||||
|
Subroutine
service: not called CC=2 SCAR=17.9
Pod
undocumented
| |||||||||||
| 17 | 0 | my $self = shift; | |||||||||
| 18 | 0 | ▶ | $self->{service} = shift if (@_); | ||||||||
|
Branch: 1 branch
| |||||||||||
| 19 | 0 | return $self->{service}; | |||||||||
| 20 | } | ||||||||||
| 21 | |||||||||||
| 22 | 4 | ▶ | sub uris { | ||||||||
|
Subroutine
uris: called CC=2 SCAR=6.9
Pod
undocumented
| |||||||||||
| 23 | 4 | my $self = shift; | |||||||||
| 24 | 4 | ▶ | $self->{uris} = shift if (@_); | ||||||||
|
Branch: 1 branch
| |||||||||||
| 25 | 4 | return $self->{uris}; | |||||||||
| 26 | } | ||||||||||
| 27 | |||||||||||
| 28 | 0 | ▶ | sub types { | ||||||||
|
Subroutine
types: not called CC=2 SCAR=17.9
Pod
undocumented
| |||||||||||
| 29 | 0 | my $self = shift; | |||||||||
| 30 | 0 | ▶ | $self->{types} = shift if (@_); | ||||||||
|
Branch: 1 branch
| |||||||||||
| 31 | 0 | return $self->{types}; | |||||||||
| 32 | } | ||||||||||
| 33 | |||||||||||
| 34 | 4 | 1; | |||||||||
| 35 | __END__ | ||||||||||