Class: Wowr::Classes::GuildBankBag
Instance Attribute Summary collapse
-
#items ⇒ Object
Returns the value of attribute items.
-
#viewable ⇒ Object
readonly
Returns the value of attribute viewable.
Attributes inherited from Item
Instance Method Summary collapse
-
#initialize(elem, api = nil) ⇒ GuildBankBag
constructor
A new instance of GuildBankBag.
Methods inherited from Item
Constructor Details
#initialize(elem, api = nil) ⇒ GuildBankBag
Returns a new instance of GuildBankBag.
75 76 77 78 79 80 |
# File 'lib/wowr/guild_bank.rb', line 75 def initialize(elem, api = nil) super(elem, api) @viewable = (@viewable == "true") @items = [] end |
Instance Attribute Details
#items ⇒ Object
Returns the value of attribute items.
73 74 75 |
# File 'lib/wowr/guild_bank.rb', line 73 def items @items end |
#viewable ⇒ Object (readonly)
Returns the value of attribute viewable.
72 73 74 |
# File 'lib/wowr/guild_bank.rb', line 72 def viewable @viewable end |