Scroll down for iOS => Appium/Ruby

Hi all,

I need a help. I’d like to know how to write a method which could be used to scroll (down and up) for test automation with appium. In ruby lang.

Thank you