diff options
| author | Luke Kanies <luke@madstop.com> | 2008-07-28 11:23:08 -0500 |
|---|---|---|
| committer | Luke Kanies <luke@madstop.com> | 2008-07-29 00:51:22 -0500 |
| commit | 4632cfd9e6ce0ff59dfa7562a02a1ae3f14488d4 (patch) | |
| tree | 50f6c0ef591867bafe4ac9ea3c3f64d045bec573 /lib/puppet/network/http.rb | |
| parent | e3350caeec3a662b0b92ec2dee372563a493fa11 (diff) | |
| download | puppet-4632cfd9e6ce0ff59dfa7562a02a1ae3f14488d4.tar.gz puppet-4632cfd9e6ce0ff59dfa7562a02a1ae3f14488d4.tar.xz puppet-4632cfd9e6ce0ff59dfa7562a02a1ae3f14488d4.zip | |
All error and format handling works over REST except searching.
Searching operates on multiple instances, and I have not
yet figured out how we should handle converting multiple
instances to a given format -- we can't use the instance
method (e.g., to_yaml), because it would be on Array
instead of the class we're operating on. That would work
for yaml, but not, for instance, for xml.
Diffstat (limited to 'lib/puppet/network/http.rb')
| -rw-r--r-- | lib/puppet/network/http.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/puppet/network/http.rb b/lib/puppet/network/http.rb index c219859b6..3b81d38b5 100644 --- a/lib/puppet/network/http.rb +++ b/lib/puppet/network/http.rb @@ -1,4 +1,4 @@ -class Puppet::Network::HTTP +module Puppet::Network::HTTP def self.server_class_by_type(kind) case kind.to_sym when :webrick: |
