lib/racked.rb in racked-0.4.1 vs lib/racked.rb in racked-0.4.2
- old
+ new
@@ -40,10 +40,10 @@
response = @server.get '/customers/856863/domains/econetmail.com', @server.json_format
end
def get_mailboxes(size=50, offset=0)
#get customer list
- response = @server.get '/customers/856863/domains/econetmail.com/rs/mailboxes/?size=#{size}&offset=#{offset}', @server.json_format
+ response = @server.get '/customers/856863/domains/econetmail.com/rs/mailboxes/?size=' + size.to_s + '&offset=' + offset.to_s, @server.json_format
puts response.inspect
# puts response['x-error-message']
# puts response.body
response = JSON.parse(response.body )
# puts response.inspect
\ No newline at end of file