def method_missing(method, *args)
      api_cat = method.to_s
      return super unless SmugMug::API_METHODS[api_cat]

      if klass = self.instance_variable_get("@#{api_cat}_wrapper")
        klass
      else
        self.instance_variable_set("@#{api_cat}_wrapper", SmugMug::ApiCategory.new(@http, api_cat))
      end
    end
def method_missing(method, *args)
      api_cat = method.to_s
      return super unless SmugMug::API_METHODS[api_cat]

      if klass = self.instance_variable_get("@#{api_cat}_wrapper")
        klass
      else
        self.instance_variable_set("@#{api_cat}_wrapper", SmugMug::ApiCategory.new(@http, api_cat))
      end
    end
Direct mapping of SmugMug 1.3.0 API, either see http://wiki.smugmug.net/display/API/API+1.3.0 or the README for examples

 @raise [SmugMug::OAuthError]
 @raise [SmugMug::HTTPError]
 @raise [SmugMug::RequestError]
 @raise [SmugMug::ReadonlyModeError]
 @raise [SmugMug::UnknownAPIError]