doc/example.rb in cloudkick-0.1.0 vs doc/example.rb in cloudkick-0.1.1
- old
+ new
@@ -1,13 +1,8 @@
require 'cloudkick'
-# cloudkick
-CONSUMER_KEY = 'sRgsZZwtmn7ksX5a'
-CONSUMER_SECRET = 'VthUpnQu3qQJ6gGp'
-
-# marktran
-# CONSUMER_KEY = 'FT4DX7BRtkabVna4'
-# CONSUMER_SECRET = '4RAF5SLq4A77wvqn'
+CONSUMER_KEY = 'ENTER_KEY'
+CONSUMER_SECRET = 'ENTER_SECRET'
client = Cloudkick::Base.new(CONSUMER_KEY,
CONSUMER_SECRET)
agent_nodes = client.get('nodes', 'tag:agent')