- COPYRIGHT AND LICENSE
OpenGbg::Service::Bridge::BridgeOpening - A change in status for Göta Älvbron
Version 0.1404, released 2018-05-19.
my $bridge = OpenGbg->new->bridge; my $status = $bridge->get_opened_status->get_by_index(2); printf 'it was %s', $status->was_open ? 'open' : 'closed';
BridgeOpening object only knows if the bridge was opened or closed at that time. Usually, an 'open' BridgeOpening is followed a few minutes later by a 'closed' one.
A DateTime object.
The time the bridge was either open or closed.
Boolean. True if the bridge was open at
timestamp, false if not.
Erik Carlsson <email@example.com>
This software is copyright (c) 2016 by Erik Carlsson.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.