Business-eWAY-RapidAPI

 view release on metacpan or  search on metacpan

Changes  view on Meta::CPAN

0.09    2014-10-10
        handle response error like 401 Unauthorized

0.08    2014-10-05
        error code updates

0.07    2014-10-05
        add Transaction method

0.06    2014-03-23
        fix requirment for IO::Socket::SSL

0.05    2014-03-21
        remove warnings with SSL_verify_mode => SSL_VERIFY_NONE (BAD)

0.04    2013.03.19
        fix 'You cannot overwrite a locally defined method (Value) with an accessor' (RT 84034)

0.03    2013.01.30
        fix NAME from ABSTRACT

META.json  view on Meta::CPAN

      },
      "develop" : {
         "requires" : {
            "Pod::Coverage::TrustPod" : "0",
            "Test::Pod" : "1.41",
            "Test::Pod::Coverage" : "1.08"
         }
      },
      "runtime" : {
         "requires" : {
            "IO::Socket::SSL" : "0",
            "JSON::MaybeXS" : "0",
            "Moo" : "0",
            "MooX::Types::MooseLike" : "0",
            "WWW::Mechanize" : "0",
            "XML::Simple" : "0"
         }
      },
      "test" : {
         "requires" : {
            "File::Spec" : "0",

META.yml  view on Meta::CPAN

configure_requires:
  ExtUtils::MakeMaker: '0'
dynamic_config: 0
generated_by: 'Dist::Zilla version 5.020, CPAN::Meta::Converter version 2.142690'
license: perl
meta-spec:
  url: http://module-build.sourceforge.net/META-spec-v1.4.html
  version: '1.4'
name: Business-eWAY-RapidAPI
requires:
  IO::Socket::SSL: '0'
  JSON::MaybeXS: '0'
  Moo: '0'
  MooX::Types::MooseLike: '0'
  WWW::Mechanize: '0'
  XML::Simple: '0'
resources:
  repository: git://github.com/fayland/p5-Business-eWAY-RapidAPI.git
version: '0.11'

Makefile.PL  view on Meta::CPAN

  "ABSTRACT" => "eWAY RapidAPI V3",
  "AUTHOR" => "Fayland Lam <fayland\@gmail.com>",
  "CONFIGURE_REQUIRES" => {
    "ExtUtils::MakeMaker" => 0
  },
  "DISTNAME" => "Business-eWAY-RapidAPI",
  "EXE_FILES" => [],
  "LICENSE" => "perl",
  "NAME" => "Business::eWAY::RapidAPI",
  "PREREQ_PM" => {
    "IO::Socket::SSL" => 0,
    "JSON::MaybeXS" => 0,
    "Moo" => 0,
    "MooX::Types::MooseLike" => 0,
    "WWW::Mechanize" => 0,
    "XML::Simple" => 0
  },
  "TEST_REQUIRES" => {
    "File::Spec" => 0,
    "IO::Handle" => 0,
    "IPC::Open3" => 0,

Makefile.PL  view on Meta::CPAN

  "VERSION" => "0.11",
  "test" => {
    "TESTS" => "t/*.t"
  }
);


my %FallbackPrereqs = (
  "File::Spec" => 0,
  "IO::Handle" => 0,
  "IO::Socket::SSL" => 0,
  "IPC::Open3" => 0,
  "JSON::MaybeXS" => 0,
  "Moo" => 0,
  "MooX::Types::MooseLike" => 0,
  "Test::More" => 0,
  "WWW::Mechanize" => 0,
  "XML::Simple" => 0
);


dist.ini  view on Meta::CPAN

copyright_holder = Fayland Lam

[@FAYLAND]

[Prereqs]
WWW::Mechanize = 0
Moo = 0
MooX::Types::MooseLike = 0
JSON::MaybeXS = 0
XML::Simple = 0
IO::Socket::SSL = 0

lib/Business/eWAY/RapidAPI.pm  view on Meta::CPAN

$Business::eWAY::RapidAPI::VERSION = '0.11';

# ABSTRACT: eWAY RapidAPI V3

use Moo;
use Business::eWAY::RapidAPI::CreateAccessCodeRequest;
use Business::eWAY::RapidAPI::GetAccessCodeResultRequest;
use Business::eWAY::RapidAPI::TransactionRequest;
use Data::Dumper;
use WWW::Mechanize;
use IO::Socket::SSL qw( SSL_VERIFY_NONE );

with 'Business::eWAY::RapidAPI::Role::Parser';
with 'Business::eWAY::RapidAPI::Role::ErrorCodeMap';

has 'mode' => ( is => 'rw', default => sub { 'live' } );
has 'urls' => ( is => 'lazy' );

sub _build_urls {
    my $self = shift;
    if ( $self->mode eq 'live' ) {



( run in 0.523 second using v1.01-cache-2.11-cpan-4d50c553e7e )