class Klient::ResourceCollection
Attributes
last_response[R]
members[R]
Public Class Methods
new(arr)
click to toggle source
# File lib/klient/resource_collection.rb, line 5 def initialize(arr) @members = arr end
Public Instance Methods
method_missing(mth, *args, &block)
click to toggle source
# File lib/klient/resource_collection.rb, line 9 def method_missing(mth, *args, &block) @members.send(mth, *args, &block) end
respond_to?(mth, *args, &block)
click to toggle source
Calls superclass method
# File lib/klient/resource_collection.rb, line 13 def respond_to?(mth, *args, &block) super || @members.respond_to?(mth) end