{"action":"created","issue":{"url":"https://api.github.com/repos/mikamai/ruby-lol/issues/35","labels_url":"https://api.github.com/repos/mikamai/ruby-lol/issues/35/labels{/name}","comments_url":"https://api.github.com/repos/mikamai/ruby-lol/issues/35/comments","events_url":"https://api.github.com/repos/mikamai/ruby-lol/issues/35/events","html_url":"https://github.com/mikamai/ruby-lol/issues/35","id":56587729,"number":35,"title":"undefined method `losses=' ","user":{"login":"Theminijohn","id":2203679,"avatar_url":"https://avatars.githubusercontent.com/u/2203679?v=3","gravatar_id":"","url":"https://api.github.com/users/Theminijohn","html_url":"https://github.com/Theminijohn","followers_url":"https://api.github.com/users/Theminijohn/followers","following_url":"https://api.github.com/users/Theminijohn/following{/other_user}","gists_url":"https://api.github.com/users/Theminijohn/gists{/gist_id}","starred_url":"https://api.github.com/users/Theminijohn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Theminijohn/subscriptions","organizations_url":"https://api.github.com/users/Theminijohn/orgs","repos_url":"https://api.github.com/users/Theminijohn/repos","events_url":"https://api.github.com/users/Theminijohn/events{/privacy}","received_events_url":"https://api.github.com/users/Theminijohn/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-02-04T21:08:32Z","updated_at":"2015-02-09T10:47:17Z","closed_at":"2015-02-09T10:47:17Z","body":"I'm trying to get the League information of a summoner:\r\n\r\n```ruby\r\nclient = Lol::Client.new Settings.rito.api_key, {region: self.server}\r\n\r\nclient.league.get(20964624)\r\n```\r\n\r\nwhich gives me an output :\r\n\r\n```console\r\n[3] pry(main)> client.league.get(20964624)\r\nNoMethodError: undefined method `losses=' for #<Lol::LeagueEntry:0x007fd6edda9578>\r\nfrom /Users/theminijohn/.rvm/rubies/ruby-2.2.0/lib/ruby/gems/2.2.0/gems/ruby-lol-0.9.19/lib/lol/model.rb:15:in `block in initialize'\r\n```\r\n\r\nI tried getting the League Entry, but couldn't get it working, how can I access  the LeagueEntry and make a request?\r\n\r\nWhat am I missing?"},"comment":{"url":"https://api.github.com/repos/mikamai/ruby-lol/issues/comments/73489215","html_url":"https://github.com/mikamai/ruby-lol/issues/35#issuecomment-73489215","issue_url":"https://api.github.com/repos/mikamai/ruby-lol/issues/35","id":73489215,"user":{"login":"intinig","id":660,"avatar_url":"https://avatars.githubusercontent.com/u/660?v=3","gravatar_id":"","url":"https://api.github.com/users/intinig","html_url":"https://github.com/intinig","followers_url":"https://api.github.com/users/intinig/followers","following_url":"https://api.github.com/users/intinig/following{/other_user}","gists_url":"https://api.github.com/users/intinig/gists{/gist_id}","starred_url":"https://api.github.com/users/intinig/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/intinig/subscriptions","organizations_url":"https://api.github.com/users/intinig/orgs","repos_url":"https://api.github.com/users/intinig/repos","events_url":"https://api.github.com/users/intinig/events{/privacy}","received_events_url":"https://api.github.com/users/intinig/received_events","type":"User","site_admin":false},"created_at":"2015-02-09T10:47:17Z","updated_at":"2015-02-09T10:47:17Z","body":"Hello,\r\n\r\nthe just released gem 0.9.19.1 still doesn't fix this problem. Hopefully it will be fixed today."}}