The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

IO::Iron::ClientBase - Base package for Client Libraries to Iron services IronCache, IronMQ and IronWorker.

VERSION

version 0.14

SYNOPSIS

        # new() in the inheriting sub class.

        sub new {
                my ($class, $params) = @_;
                my $self = IO::Iron::ClientBase->new();
                # Add more keys to the self hash.
                my @self_keys = (
                                'caches',        # References to all objects created of class IO::Iron::IronCache::Cache.
                                legal_keys(%{$self}),
                );
                unlock_keys(%{$self});
                lock_keys_plus(%{$self}, @self_keys);
                my @caches;
                $self->{'caches'} = \@caches;

                unlock_keys(%{$self});
                bless $self, $class;
                lock_keys(%{$self}, @self_keys);

                return $self;
        }

METHODS

new

Creator function.

Declares the mandatory items of self hash.

Getters/setters

Set or get a property. When setting, returns the reference to the object.

project_id project_id from config.
connection The Connection module.
last_http_status_code

AUTHOR

Mikko Koivunalho <mikko.koivunalho@iki.fi>

BUGS

Please report any bugs or feature requests to bug-io-iron@rt.cpan.org or through the web interface at: http://rt.cpan.org/Public/Dist/Display.html?Name=IO-Iron

COPYRIGHT AND LICENSE

This software is copyright (c) 2023 by Mikko Koivunalho.

This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.

The full text of the license can be found in the LICENSE file included with this distribution.