Class: Wowr::Classes::GuildBankLog
- Defined in:
- lib/wowr/guild_bank.rb
Overview
Consists of multiple groups, each with 1000 entries
Instance Attribute Summary collapse
-
#entries ⇒ Object
readonly
Returns the value of attribute entries.
Attributes inherited from GuildBank
#bags, #info, #money, #motd, #ranks
Attributes inherited from Guild
Instance Method Summary collapse
-
#initialize(elem, api = nil) ⇒ GuildBankLog
constructor
A new instance of GuildBankLog.
Constructor Details
#initialize(elem, api = nil) ⇒ GuildBankLog
Returns a new instance of GuildBankLog.
59 60 61 62 63 64 65 66 |
# File 'lib/wowr/guild_bank.rb', line 59 def initialize(elem, api = nil) super(elem) @entries = [] (elem%'banklogs'/:banklog).each do |entry| @entries << GuildBankLogEntry.new(entry, self, api) end end |
Instance Attribute Details
#entries ⇒ Object (readonly)
Returns the value of attribute entries.
57 58 59 |
# File 'lib/wowr/guild_bank.rb', line 57 def entries @entries end |