class PackageCloud::Object

Public Instance Methods

method_missing(method, *args, &block) click to toggle source
Calls superclass method
# File lib/package_cloud/object.rb, line 7
def method_missing(method, *args, &block)
  if @attrs.has_key?(method.to_s)
    @attrs[method.to_s]
  else
    super
  end
end
respond_to?(method, include_priv=false) click to toggle source
Calls superclass method
# File lib/package_cloud/object.rb, line 3
def respond_to?(method, include_priv=false)
  @attrs.has_key?(method.to_s) || super
end