lib/kentaa/api/clients/teams.rb in kentaa-api-0.4.0 vs lib/kentaa/api/clients/teams.rb in kentaa-api-0.5.0
- old
+ new
@@ -13,10 +13,10 @@
teams = Kentaa::Api::Resources::Teams.new(config, options)
teams.load
end
def get(id, options = {})
- team = Kentaa::Api::Resources::Team.new(config, options.merge(id: id))
+ team = Kentaa::Api::Resources::Team.new(config, id: id, options: options)
team.load
end
end
end
end