Linode Forum
Linode Community Forums
 FAQFAQ    SearchSearch    MembersMembers      Register Register 
 LoginLogin [ Anonymous ] 
Post new topic  Reply to topic
Author Message
PostPosted: Sat Oct 11, 2008 5:12 pm 
Offline

Joined: Sat Oct 11, 2008 5:02 pm
Posts: 1
Location: NYC
The API works great, but there are some small bugs in apicore.rb

Lines 259-289 of the domainResourceSave method in apicore.rb

has_key should be has_key?
(args[:Target]) should be (:Target)
All the downcase = should be downcase ==

otherwise you'll get syntax errors when trying to invoke the method..
./apicore.rb:279:in `domainResourceSave': undefined method `downcase=' for "A":String (NoMethodError)
./apicore.rb:260:in `domainResourceSave': undefined method `has_key' for #<Hash:0x7fec01b58200> (NoMethodError)


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic


Who is online

Users browsing this forum: No registered users and 0 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  
RSS

Powered by phpBB® Forum Software © phpBB Group