From 8a54b96940ac00b39a26efbaea6417849744e169 Mon Sep 17 00:00:00 2001 From: danijoo Date: Wed, 1 Jan 2014 20:35:47 +0100 Subject: [PATCH] Update README.md --- README.md | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 66d2e95..34d3898 100644 --- a/README.md +++ b/README.md @@ -35,8 +35,7 @@ Lets find dyrus require 'sightstone' sightstone = Sightstone.new('your_api_key', 'na') -# gets the summoner by its name OR id -summoner = sightstone.summoner.summoner 'dyrus' +summoner = sightstone.summoner.summoner 'dyrus' # gets the summoner by its name OR id summoner.name => "Dyrus" @@ -49,8 +48,7 @@ summoner.id require 'sightstone' sightstone = Sightstone.new('your_api_key', 'na') -# gets the runebook of the summoner or a summoners id -rune_book = sightstone.summoner.runes 5908 +rune_book = sightstone.summoner.runes 5908 # 5908 is the summoner ID, you can pass a summoner object, too! rune_book.pages.size => 20