class HaveAPI::Fs::HashListWrapper
Public Class Methods
new(client, api, resource, action, data)
click to toggle source
# File lib/haveapi/fs/hash_list_wrapper.rb, line 3 def initialize(client, api, resource, action, data) data.each do |v| self << HashWrapper.new(client, api, resource, action, v) end end
Public Instance Methods
[](k)
click to toggle source
# File lib/haveapi/fs/hash_list_wrapper.rb, line 13 def [](k) @data[k] end
[]=(k, v)
click to toggle source
# File lib/haveapi/fs/hash_list_wrapper.rb, line 17 def []=(k, v) @data[k] = v end
id()
click to toggle source
# File lib/haveapi/fs/hash_list_wrapper.rb, line 9 def id @data[:id] end