GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
Nexmo::SMS::Response::Message(3) User Contributed Perl Documentation Nexmo::SMS::Response::Message(3)

Nexmo::SMS::Response::Message - Module that represents a single message in the response from Nexmo SMS API!

version 0.06

This module represents a single message in a response from Nexmo.

    use Nexmo::SMS::Response::Message;

    my $nexmo = Nexmo::SMS::Response::Message->new(
        json => '{
              "status":"4",
              "message-id":"message001",
              "client-ref":"Test001 - Reference",
              "remaining-balance":"20.0",
              "message-price":"0.05",
              "error-text":""
              }',
    );
    
    print $nexmo->message_price;

Version 0.02

create a new object

    my $foo = Nexmo::SMS::Response::Message->new(
        json => '
              {
              "status":"4",
              "message-id":"message001",
              "client-ref":"Test001 - Reference",
              "remaining-balance":"20.0",
              "message-price":"0.05",
              "error-text":""
              }',
    );

These attributes are available for "Nexmo::SMS::TextMessage" objects:

  $nexmo->client_ref( 'client_ref' );
  my $client_ref = $nexmo->client_ref;
  • client_ref
  • error_text
  • message_price
  • remaining_balance
  • status_desc
  • status message_id
  • status_text

Copyright 2011 Renee Baecker.

This program is released under the following license: artistic_2

Renee Baecker <module@renee-baecker.de>

This software is Copyright (c) 2011 by Renee Baecker.

This is free software, licensed under:

  The Artistic License 2.0 (GPL Compatible)
2011-12-26 perl v5.32.1

Search for    or go to Top of page |  Section 3 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.