summaryrefslogtreecommitdiffstats
path: root/lib/blink/client.rb
diff options
context:
space:
mode:
authorLuke Kanies <luke@madstop.com>2005-04-18 22:07:52 +0000
committerLuke Kanies <luke@madstop.com>2005-04-18 22:07:52 +0000
commit9d163d019b6fbd79f9abefdd108eb6b3d448348b (patch)
tree04c54c95455b01fd308c1fcfdd00e3a0f48762c5 /lib/blink/client.rb
parent68409ef1d5edf1486a28ab88808a9fb4f994e91a (diff)
downloadpuppet-9d163d019b6fbd79f9abefdd108eb6b3d448348b.tar.gz
puppet-9d163d019b6fbd79f9abefdd108eb6b3d448348b.tar.xz
puppet-9d163d019b6fbd79f9abefdd108eb6b3d448348b.zip
changing Types to Type
git-svn-id: https://reductivelabs.com/svn/puppet/library/trunk@181 980ebf18-57e1-0310-9a29-db15c13687c0
Diffstat (limited to 'lib/blink/client.rb')
-rw-r--r--lib/blink/client.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/blink/client.rb b/lib/blink/client.rb
index 7ebc43c71..69594fd40 100644
--- a/lib/blink/client.rb
+++ b/lib/blink/client.rb
@@ -27,12 +27,12 @@ module Blink
end
def objects=(list)
- Blink::Types.buildtypehash # refresh the list of available types
+ Blink::Type.buildtypehash # refresh the list of available types
objects = list.collect { |object|
# create a Blink object from the list...
#puts "yayness"
- if type = Blink::Types.type(object.type)
+ if type = Blink::Type.type(object.type)
namevar = type.namevar
if namevar != :name
object[namevar] = object[:name]