web_service (ActionWebService::Container::Delegated::ClassMethods)

    # File lib/action_web_service/container/delegated_container.rb, line 40
            def web_service(name, object=nil, &block)
              if (object && block_given?) || (object.nil? && block.nil?)
                raise(ContainerError, "either service, or a block must be given")
              end
              name = name.to_sym
              if block_given?
                info = { name => { :block => block } }
              else
                info = { name => { :object => object } }
              end
              write_inheritable_hash("web_services", info)
              call_web_service_definition_callbacks(self, name, info)
            end