API wrapper in ruby for dakwak API