Skip to content

Commit

Permalink
update examples
Browse files Browse the repository at this point in the history
  • Loading branch information
ggklf committed Aug 12, 2012
1 parent 31920c4 commit df6295d
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion README.md
Expand Up @@ -6,7 +6,6 @@ usage
==
```ruby
require 'knykode'

# working with the postcode class
posta = Knykode::Postcode.new

Expand All @@ -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
Expand Down

0 comments on commit df6295d

Please sign in to comment.