Class: ClashOfClansApi::Models::ClanWarLeagueRound

Inherits:
Base
  • Object
show all
Defined in:
lib/clash_of_clans_api/models/clan_war_league_round.rb

Instance Attribute Summary

Attributes inherited from Base

#client

Instance Method Summary collapse

Methods inherited from Base

#[], #cache_property, #initialize, property, #property_cached?, #property_from_cache, registered_properties, #to_h, #validate!

Constructor Details

This class inherits a constructor from ClashOfClansApi::Models::Base

Instance Method Details

#prepared?Boolean

Returns:

  • (Boolean)


8
9
10
11
12
# File 'lib/clash_of_clans_api/models/clan_war_league_round.rb', line 8

def prepared?
	war_tags.all? do |war_tag|
		war_tag != '#0'
	end
end