From df6295d4701ff36ce721965214befad5361b95ab Mon Sep 17 00:00:00 2001 From: georgeG Date: Sun, 12 Aug 2012 14:04:54 +0300 Subject: [PATCH] update examples --- README.md | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index bfd10a9..b1f74af 100644 --- a/README.md +++ b/README.md @@ -6,7 +6,6 @@ usage == ```ruby require 'knykode' - # working with the postcode class posta = Knykode::Postcode.new @@ -18,6 +17,10 @@ mobile = Knykode::Mobile.new #list an array of available carriers puts mobile.carriers.inspect #["Safaricom", "Airtel", "Yu", "Orange", "Telkom"] +#list prefix codes for safaricom +safaricom = Knykode::Mobile::Safaricom.new +puts safaricom.prefixes + ``` license