Akira Horimoto > WWW-Giraffi-API-0.2_04 > WWW::Giraffi::API::Region

Download:
WWW-Giraffi-API-0.2_04.tar.gz

Dependencies

Annotate this POD

Module Version: 0.2_04   Source  

NAME ^

WWW::Giraffi::API::Region - Giraffi API Region Method Region Module

VERSION ^

0.2_04

SYNOPSIS ^

  use strict;
  use warnings;
  use WWW::Giraffi::API;
  
  my $apikey = "ilovenirvana_ilovekurtcobain";
  my $g = WWW::Giraffi::API->new(apikey => $apikey);
  # get all region data
  my $arrayref = $g->region->all;
  foreach $ref(@{$arrayref}) {
      ## anything to do...
  }

DESCRIPTION ^

WWW::Giraffi::API::Region is Giraffi API Region Method Access Module

METHOD ^

all

Get All Region Setting

Example:

  $ create region object
  my $region = $g->region;
  my $arrayref = $region->all;

Return Array Reference:

  [
    {
      region => {
           id => 1,
                   code => "JP"
       }
    }
  ]

AUTHOR ^

Akira Horimoto <emperor@gmail.com>

LICENSE ^

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

syntax highlighting: