App-pepper

 view release on metacpan or  search on metacpan

README.md  view on Meta::CPAN

- `fax` - E164 fax number
- `email` - email address
- `authinfo` - authInfo code. A random string will be used if not provided.

Example:

    pepper (id@host)> create contact id "sh8013" name "John Doe" org "Example Inc." type int street "123 Example Dr." city Dulles sp VA pc 20166-6503 cc US voice +1.7035555555 email jdoe@example.com

## Object Updates

Objects may be updated using the `update` command.

### Domain Updates

    update domain DOMAIN CHANGES

The `CHANGES` argument consists of groups of three values: an action (ie `add`, `rem` or `chg`), followed by a property name (e.g. `ns`, a contact type (such as `admin`, `tech` or `billing`) or `status`), followed by a value.

Example:

    update domain example.com add ns ns0.example.com

README.md  view on Meta::CPAN

- `street1`, `street2`, `street3`
- `city`
- `sp`
- `pc`
- `cc`
- `voice`
- `fax`
- `email`
- `authInfo`

If postal address information is being changed, then any values not specified in the command line will be populated from the existing object information. This is because contact information is updated atomically.

Examples:

    pepper (id@host)> create contact id "sh8013" name "John Doe" org "Example Inc." type int street "123 Example Dr." city Dulles sp VA pc 20166-6503 cc US voice  email jdoe@example.com

    update contact sh8013 chg email example@example.com

    update contact sh8013 chg voice +1.7035555555

    update contact sh8013 street1 "123 Example Dr." street2 "" street3 ""

lib/App/pepper.pm  view on Meta::CPAN

=item * C<authinfo> - authInfo code. A random string will be used if not provided.

=back

Example:

    pepper (id@host)> create contact id "sh8013" name "John Doe" org "Example Inc." type int street "123 Example Dr." city Dulles sp VA pc 20166-6503 cc US voice +1.7035555555 email jdoe@example.com

=head2 Object Updates

Objects may be updated using the C<update> command.

=head3 Domain Updates

    update domain DOMAIN CHANGES

The C<CHANGES> argument consists of groups of three values: an action (ie C<add>, C<rem> or C<chg>), followed by a property name (e.g. C<ns>, a contact type (such as C<admin>, C<tech> or C<billing>) or C<status>), followed by a value.

Example:

    update domain example.com add ns ns0.example.com

lib/App/pepper.pm  view on Meta::CPAN

=item * C<voice>

=item * C<fax>

=item * C<email>

=item * C<authInfo>

=back

If postal address information is being changed, then any values not specified in the command line will be populated from the existing object information. This is because contact information is updated atomically.

Examples:

    pepper (id@host)> create contact id "sh8013" name "John Doe" org "Example Inc." type int street "123 Example Dr." city Dulles sp VA pc 20166-6503 cc US voice  email jdoe@example.com

    update contact sh8013 chg email example@example.com

    update contact sh8013 chg voice +1.7035555555

    update contact sh8013 street1 "123 Example Dr." street2 "" street3 ""



( run in 0.234 second using v1.01-cache-2.11-cpan-05444aca049 )